]> git.baikalelectronics.ru Git - kernel.git/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)
commit46dd4bc26e42c940474140b101fe30ebd000967c
treeb7406b039ed9ec761bb1d438788001f95757badf
parent3f60a64694d1375471ef1129d1f3ea9079894e2b
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