net: qede: Fix end of loop tests for list_for_each_entry
[ Upstream commit 795e3d2e ] The list_for_each_entry() iterator, "vlan" in this code, can never be NULL so the warning will never be printed. Signed-off-by:Harshvardhan Jha <harshvardhan.jha@oracle.com> Signed-off-by:
David S. Miller <davem@davemloft.net> Signed-off-by:
Sasha Levin <sashal@kernel.org>
parent
1478e902
Please register or sign in to comment