net: qede: Fix end of loop tests for list_for_each_entry

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>
This commit is contained in:
Harshvardhan Jha 2021-07-25 23:28:04 +05:30 • committed by David S. Miller
commit 795e3d2ea6