r8152: use test_and_clear_bit
commit 216a8349 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>
Showing
Please register or sign in to comment