diff options
author | Julia Cartwright <julia@ni.com> | 2017-12-05 18:02:48 -0600 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-12-05 20:08:03 -0500 |
commit | a3da8adcb54adf027661c704220ead5116b4ed8a (patch) | |
tree | 3e023f8997e1ac4a35ead2c6adf28f2c03b9173b /drivers/net/xen-netback/xenbus.c | |
parent | 9a63b255dffd6de31fe47a80d16d26d0291d3714 (diff) | |
download | op-kernel-dev-a3da8adcb54adf027661c704220ead5116b4ed8a.zip op-kernel-dev-a3da8adcb54adf027661c704220ead5116b4ed8a.tar.gz |
net: macb: kill useless use of list_empty()
The list_for_each_entry() macro already handles the case where the list
is empty (by not executing the loop body). It's not necessary to handle
this case specially, so stop doing so.
Cc: Rafal Ozieblo <rafalo@cadence.com>
Acked-by: Nicolas Ferre <nicolas.ferre@microchip.com>
Signed-off-by: Julia Cartwright <julia@ni.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/xen-netback/xenbus.c')
0 files changed, 0 insertions, 0 deletions