Bluetooth: Helper removes duplicated code
authorAndrei Emeltchenko <andrei.emeltchenko@intel.com>
Fri, 3 Feb 2012 14:27:55 +0000 (16:27 +0200)
committerJohan Hedberg <johan.hedberg@intel.com>
Mon, 13 Feb 2012 15:01:33 +0000 (17:01 +0200)
commit63d2bc1b9a4d77f90b9719c3ff2570a274a7a22f
treef5dc74ff50c858b3177ed5613dd545fe4a9761f4
parentb71d385a18cd4516c62d0198c9ec37e658112f75
Bluetooth: Helper removes duplicated code

Use __check_timout helper to remove duplicated code

Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
Reviewed-by: Ulisses Furquim <ulisses@profusion.mobi>
Acked-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
net/bluetooth/hci_core.c