From: Colin King
Date: Tue, 31 Oct 2017 14:23:24 +
> From: Colin Ian King
>
> Variable work_done is set to zero and this value is never read, instead
> it is set to another value a few statements later. Remove the redundant
> assignment. Cleans up clang warning:
>
> drivers/net/ethernet/c
Hei hei,
Am Dienstag, 31. Oktober 2017, 14:23:24 CET schrieb Colin King:
> --- a/drivers/net/ethernet/cadence/macb_main.c
> +++ b/drivers/net/ethernet/cadence/macb_main.c
> @@ -1218,8 +1218,6 @@ static int macb_poll(struct napi_struct *napi, int
> budget) status = macb_readl(bp, RSR);
> macb
From: Colin Ian King
Variable work_done is set to zero and this value is never read, instead
it is set to another value a few statements later. Remove the redundant
assignment. Cleans up clang warning:
drivers/net/ethernet/cadence/macb_main.c:1221:2: warning: Value stored
to 'work_done' is neve