Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bonding: remove useless stats_lock_key
After commit b3e80d4 ("bonding: fix lockdep warning in bond_get_stats()") the dynamic key is no longer necessary, as we compute nest level at run-time. So, we can just remove it to save some lockdep key entries. Test commands: ip link add bond0 type bond ip link add bond1 type bond ip link set bond0 master bond1 ip link set bond0 nomaster ip link set bond1 master bond0 Reported-and-tested-by: [email protected] Cc: Dmitry Vyukov <[email protected]> Acked-by: Taehee Yoo <[email protected]> Signed-off-by: Cong Wang <[email protected]> Signed-off-by: David S. Miller <[email protected]>
- Loading branch information