summaryrefslogtreecommitdiffstats
path: root/drivers/net/team/team.c
diff options
context:
space:
mode:
authorLance Roy <ldr709@gmail.com>2018-10-04 09:14:04 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-10-04 20:06:35 +0200
commit8ebfe885c65ec82a0b1e955cf99ed62664e84414 (patch)
treecc5c6c7cabe8c526551c7c43d8d6427fb221f7fa /drivers/net/team/team.c
parentRevert "serial:serial_core: Allow use of CTS for PPS line discipline" (diff)
downloadlinux-8ebfe885c65ec82a0b1e955cf99ed62664e84414.tar.xz
linux-8ebfe885c65ec82a0b1e955cf99ed62664e84414.zip
TTY: sn_console: Replace spin_is_locked() with spin_trylock()
sn_sal_console_write() 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: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Cc: Jiri Slaby <jslaby@suse.com> Cc: <linux-serial@vger.kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/net/team/team.c')
0 files changed, 0 insertions, 0 deletions