Re: [PATCH 1/2] Bluetooth: Ignore hci_unregister_dev return value

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi David,

> 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@xxxxxxxxxxxxxx>
> ---
>  drivers/bluetooth/bfusb.c       |    4 +---
>  drivers/bluetooth/bluecard_cs.c |    4 +---
>  drivers/bluetooth/bt3c_cs.c     |    4 +---
>  drivers/bluetooth/btuart_cs.c   |    4 +---
>  drivers/bluetooth/dtl1_cs.c     |    4 +---
>  drivers/bluetooth/hci_vhci.c    |    5 +----
>  6 files changed, 6 insertions(+), 19 deletions(-)

I am totally fine with this.

Acked-by: Marcel Holtmann <marcel@xxxxxxxxxxxx>

Regards

Marcel


--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux