]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: btusb: Remove double error check from local version command
authorMarcel Holtmann <marcel@holtmann.org>
Sun, 7 Jun 2015 08:01:01 +0000 (10:01 +0200)
committerJohan Hedberg <johan.hedberg@intel.com>
Mon, 8 Jun 2015 09:55:26 +0000 (12:55 +0300)
commit9359863a553ab7b1b1a297b348b81e7e9f4d08b7
treeea12c00ad6efa55ebd93efa44c27a09e611f245c
parent9d91c5ed565b4cc66a6757fb38d83ee7dc705766
Bluetooth: btusb: Remove double error check from local version command

The __hci_cmd_sync function already handles the command status and
command complete errors. No need to check the status field again.

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