aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorJulia Cartwright <julia@ni.com>2017-12-05 18:02:48 -0600
committerDavid S. Miller <davem@davemloft.net>2017-12-05 20:08:03 -0500
commita3da8adcb54adf027661c704220ead5116b4ed8a (patch)
tree3e023f8997e1ac4a35ead2c6adf28f2c03b9173b /net
parentnet_sched: remove unused parameter from act cleanup ops (diff)
downloadlinux-dev-a3da8adcb54adf027661c704220ead5116b4ed8a.tar.xz
linux-dev-a3da8adcb54adf027661c704220ead5116b4ed8a.zip
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 'net')
0 files changed, 0 insertions, 0 deletions