diff options
| author | Lance Roy <[email protected]> | 2018-10-04 07:46:57 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2018-10-05 21:31:29 +0000 |
| commit | 9a694c1de396e24565bfd05d0e36f72d10c3bce2 (patch) | |
| tree | 1c814239aec1dc35317299a3477d52f2bfb43932 /tools/testing/selftests/tc-testing/plugin-lib/buildebpfPlugin.py | |
| parent | Merge branch 'hns3-Unicast-MAC-VLAN-table' (diff) | |
| download | kernel-9a694c1de396e24565bfd05d0e36f72d10c3bce2.tar.gz kernel-9a694c1de396e24565bfd05d0e36f72d10c3bce2.zip | |
atm: nicstar: Replace spin_is_locked() with spin_trylock()
ns_poll() used spin_is_locked() + spin_lock() to get achieve the same
thing as a spin_trylock(), so simplify it by using that instead. This is
also a step towards possibly removing spin_is_locked().
Signed-off-by: Lance Roy <[email protected]>
Cc: Chas Williams <[email protected]>
Cc: <[email protected]>
Cc: <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/testing/selftests/tc-testing/plugin-lib/buildebpfPlugin.py')
0 files changed, 0 insertions, 0 deletions
