Re: [PATCH] net: macb: remove redundant assignment to variable work_done

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Colin King <colin.king@xxxxxxxxxxxxx>
Date: Tue, 31 Oct 2017 14:23:24 +0000

> From: Colin Ian King <colin.king@xxxxxxxxxxxxx>
> 
> 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 never read
> 
> Signed-off-by: Colin Ian King <colin.king@xxxxxxxxxxxxx>

Applied.
--
To unsubscribe from this list: send the line "unsubscribe kernel-janitors" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Kernel Development]     [Kernel Announce]     [Kernel Newbies]     [Linux Networking Development]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Device Mapper]

  Powered by Linux