bonding: remove __get_first_port()
authorVeaceslav Falico <vfalico@redhat.com>
Fri, 27 Sep 2013 14:11:58 +0000 (16:11 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sat, 28 Sep 2013 22:28:00 +0000 (15:28 -0700)
commitfe9323dae5a05eb3d582d5546219c601862dd082
tree1345b2e238c7104372405c04fadbb04a95b0a9a3
parent3c4c88a138f0857b9e77266e09ad147d17629401
bonding: remove __get_first_port()

Currently we have only one user of it, so it's kind of useless and just
obfusicates things.

Remove it and move the logic to the only user -
bond_3ad_state_machine_handler().

CC: Jay Vosburgh <fubar@us.ibm.com>
CC: Andy Gospodarek <andy@greyhouse.net>
Signed-off-by: Veaceslav Falico <vfalico@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bonding/bond_3ad.c