]> git.itanic.dy.fi Git - linux-stable/commit
r8152: use test_and_clear_bit
authorhayeswang <hayeswang@realtek.com>
Thu, 7 Jan 2016 09:51:11 +0000 (17:51 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 17 Jan 2018 08:35:28 +0000 (09:35 +0100)
commita37ff616d720dbfe445e9791e1417c09b7c68165
treec127b3e79851ebf27279fa7656fddf4e4cfad782
parent9d614746ea0bd0e51a2ba8611e80bdc972759180
r8152: use test_and_clear_bit

commit 216a8349d3a0dd1bc2afbcc821e374c8f929bd62 upstream.

Replace test_bit() followed by clear_bit() with test_and_clear_bit().

Signed-off-by: Hayes Wang <hayeswang@realtek.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Oliver Neukum <oneukum@suse.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/usb/r8152.c