]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
bonding: Remove unneeded list_empty checks.
authorPavel Emelyanov <xemul@openvz.org>
Sun, 18 May 2008 04:10:11 +0000 (21:10 -0700)
committerJeff Garzik <jgarzik@redhat.com>
Thu, 22 May 2008 10:34:25 +0000 (06:34 -0400)
commit8047637c70e4451e2ac1c17ed9a91a2f753daae7
tree8119a215591c62175bc82dab5438d57790f0c14e
parent0883beca7f39ab0c6447af35080e5caaa07418e3
bonding: Remove unneeded list_empty checks.

Some places iterate over the checked list right after the check
itself, so even if the list is empty, the list_for_each_xxx
iterator will make everything right by himself.

Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Acked-by: Jay Vosburgh <fubar@us.ibm.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/net/bonding/bond_main.c