]> Pileus Git - ~andy/linux/commit
bonding: don't use bond_next_slave() in bond_info_seq_next()
authorVeaceslav Falico <vfalico@redhat.com>
Fri, 27 Sep 2013 14:12:04 +0000 (16:12 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sat, 28 Sep 2013 22:28:06 +0000 (15:28 -0700)
commitf965084535713d952c5bb702806fd6052641b9e9
treeb7406b039ed9ec761bb1d438788001f95757badf
parentda8f0919adcedb7a7b1d343e20c5d044928726d8
bonding: don't use bond_next_slave() in bond_info_seq_next()

We don't need the circular loop there and it's the only current user of
bond_next_slave() - so just use the standard bond_for_each_slave().

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_procfs.c