aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/futex-contention.py
diff options
context:
space:
mode:
authorVeaceslav Falico <[email protected]>2013-09-25 09:20:21 +0200
committerDavid S. Miller <[email protected]>2013-09-26 16:02:06 -0400
commit0965a1f3f8757a2c20a16a83bc18279009d79a26 (patch)
treedd7b1c154e8b5e01f31422ebdf3c27df8b583780 /tools/perf/scripts/python/futex-contention.py
parentb386c58b85b23c3a73baa014d01d2943ca8260cd (diff)
bonding: add bond_has_slaves() and use it
Currently we verify if we have slaves by checking if bond->slave_list is empty. Create a define bond_has_slaves() and use it, a bit more readable and easier to change in the future. CC: Jay Vosburgh <[email protected]> CC: Andy Gospodarek <[email protected]> Signed-off-by: Veaceslav Falico <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/futex-contention.py')
0 files changed, 0 insertions, 0 deletions