lan743x: remove redundant initialization of variable current_head_index
[ Upstream commit bb809a04 ] The variable current_head_index is being initialized with a value that is never read and it is being updated later with a new value. Replace the initialization of -1 with the latter assignment. Addresses-Coverity: ("Unused value") Signed-off-by:Colin Ian King <colin.king@canonical.com> Signed-off-by:
David S. Miller <davem@davemloft.net> Stable-dep-of: 2d52e2e3 ("net: lan743x: Fix memleak issue when GSO enabled") Signed-off-by:
Sasha Levin <sashal@kernel.org>
Loading
Please sign in to comment