]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
Bluetooth: Ignore hci_unregister_dev return value
authorDavid Herrmann <dh.herrmann@googlemail.com>
Wed, 26 Oct 2011 08:43:18 +0000 (10:43 +0200)
committerGustavo F. Padovan <padovan@profusion.mobi>
Mon, 7 Nov 2011 19:24:41 +0000 (17:24 -0200)
commit13ea4015d37d2dbe597580898b5fafbe6f593f72
tree820d0bcde2da968160403c15f9fe17600a886b5f
parent96af7391b752cf3d2de3aef8f03c45ba76d3ac5e
Bluetooth: Ignore hci_unregister_dev return value

Make all bluetooth drivers ignore the return value of hci_unregister_dev as it
always returns 0. In the next step, hci_unregister_dev can be modified to return
void.
Some of the drivers already ignore the return value (including btusb), hence,
this will increase consitency in the bluetooth drivers.

Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
Acked-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
drivers/bluetooth/bfusb.c
drivers/bluetooth/bluecard_cs.c
drivers/bluetooth/bt3c_cs.c
drivers/bluetooth/btuart_cs.c
drivers/bluetooth/dtl1_cs.c
drivers/bluetooth/hci_vhci.c