]> git.karo-electronics.de Git - linux-beck.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)
commit129a76931a6e90ddca586ba6e4292b5b429488bc
treebd3b00b11c2ee5e66f698fe995f055fbe2f5d90e
parentfaa810303d4141de335a8b29ec7fba8d653903fc
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