]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
bonding: remove no longer needed lock for bond_xxx_info_query()
authordingtianhong <dingtianhong@huawei.com>
Fri, 21 Feb 2014 08:08:54 +0000 (16:08 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 24 Feb 2014 23:28:23 +0000 (18:28 -0500)
commit7a4ddcd92ea72fdc54ebf671f3d3fcc8ba3a1ea8
treeb0029595d3f72dbd476369bf3eeceb047ae32790
parent4335d60e5e271497116fd77ed68dacca7cfb1548
bonding: remove no longer needed lock for bond_xxx_info_query()

The bond_xxx_info_query() was already in RTNL, so no need to use
bond lock to protect the bond slave list, so remove it.

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