summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorLance Roy <ldr709@gmail.com>2018-10-04 00:46:57 -0700
committerDavid S. Miller <davem@davemloft.net>2018-10-05 14:31:29 -0700
commit9a694c1de396e24565bfd05d0e36f72d10c3bce2 (patch)
tree1c814239aec1dc35317299a3477d52f2bfb43932 /fs
parent9798594cb9829a4edabdc58ad1b0d43fe4728b4f (diff)
downloadlinux-stable-9a694c1de396e24565bfd05d0e36f72d10c3bce2.tar.gz
linux-stable-9a694c1de396e24565bfd05d0e36f72d10c3bce2.tar.bz2
linux-stable-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 <ldr709@gmail.com> Cc: Chas Williams <3chas3@gmail.com> Cc: <linux-atm-general@lists.sourceforge.net> Cc: <netdev@vger.kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions