]> git.baikalelectronics.ru Git - kernel.git/commit
r8152: use test_and_clear_bit
authorhayeswang <hayeswang@realtek.com>
Thu, 7 Jan 2016 09:51:11 +0000 (17:51 +0800)
committerDavid S. Miller <davem@davemloft.net>
Sat, 9 Jan 2016 02:57:17 +0000 (21:57 -0500)
commitc76f88b5f813b2f78d8bd6d3a424ddbc46f04c67
tree802688621214d4a12f91790dce33eaa5f8e96099
parentf1027af48bef3c92077c8fa6960ba90a2c4f45ed
r8152: use test_and_clear_bit

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>
drivers/net/usb/r8152.c