]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: btusb: Remove unneeded btusb_wait_on_bit_timeout()
authorJohan Hedberg <johan.hedberg@intel.com>
Sat, 14 Feb 2015 07:33:35 +0000 (09:33 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Sat, 14 Feb 2015 21:25:09 +0000 (22:25 +0100)
commitfa5c87189b06f27503be7aabebc265d81fb6378f
treebd3b00b11c2ee5e66f698fe995f055fbe2f5d90e
parent818cdf9c41b9bfb74b5417bb61d4f04574b53ba8
Bluetooth: btusb: Remove unneeded btusb_wait_on_bit_timeout()

There's now a proper wait_on_bit_timeout() API in linux/wait.h so we can
remove our own copy from btusb.c. Our copy had the task state and
timeout variables swapped so the patch also changes their order.

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
drivers/bluetooth/btusb.c