From: Colin King <colin.king@xxxxxxxxxxxxx> Date: Wed, 31 Jan 2018 16:14:25 +0000 > From: Colin Ian King <colin.king@xxxxxxxxxxxxx> > > Variable head is initialized to a value that is never read and is > being updated to a new value a few lines later, hence this > initialization is redundant and can be safely removed as well > as the now unused pointer txq. > > Cleans up clang warning: > drivers/net/ethernet/emulex/benet/be_main.c:996:6: warning: Value > stored to 'head' during its initialization is never read > > Signed-off-by: Colin Ian King <colin.king@xxxxxxxxxxxxx> Applied, thank you. -- 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