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)
commit9641d3435f76dfa9255974acebc64d5794889e77
treeea12c00ad6efa55ebd93efa44c27a09e611f245c
parentecffc80478cdce122f0ecb6a4e4f909132dd5c47
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