Bluetooth: hci_ldisc: Provide a 'default' switch case
authorFabio Estevam <fabio.estevam@nxp.com>
Wed, 25 Apr 2018 22:36:29 +0000 (19:36 -0300)
committerMarcel Holtmann <marcel@holtmann.org>
Fri, 18 May 2018 04:37:52 +0000 (06:37 +0200)
commitd36dfb3e9b990b45bb812fd144b19737649a69ba
treed08497a032bc2caf431a66df068d7e88c994ab5e
parentd666fc5479ad76a1bcbe6476d4997cea714bab2d
Bluetooth: hci_ldisc: Provide a 'default' switch case

When both CONFIG_BT_HCIUART_INTEL and CONFIG_BT_HCIUART_BCM are not
selected, sparse complains like this:

drivers/bluetooth/hci_ldisc.c:437:9: warning: switch with no cases

Fix the sparse warning by proving a default switch case.

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
drivers/bluetooth/hci_ldisc.c