Re: [PATCH] net: dl2k: remove redundant re-assignment to np

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

 



From: Colin King <colin.king@xxxxxxxxxxxxx>
Date: Wed,  1 Nov 2017 08:57:37 +0000

> From: Colin Ian King <colin.king@xxxxxxxxxxxxx>
> 
> The pointer np is initialized and then re-assigned the same value
> a few lines later. Remove the redundant duplicated assignment. Cleans
> up clang warning:
> 
> drivers/net/ethernet/dlink/dl2k.c:314:25: warning: Value stored to
> 'np' during its initialization 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