diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2015-04-01 13:51:51 -0700 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@intel.com> | 2015-04-02 08:41:21 +0300 |
commit | 41533fe5b4f92adb3c40f263b889dc6addff550e (patch) | |
tree | 18ad2a638c0a049103b4742fc99b14468edd27f6 /drivers/bluetooth | |
parent | c3370de64d563fa0db5e773b97b77ea7a961d131 (diff) | |
download | op-kernel-dev-41533fe5b4f92adb3c40f263b889dc6addff550e.zip op-kernel-dev-41533fe5b4f92adb3c40f263b889dc6addff550e.tar.gz |
Bluetooth: Remove unneeded extra ( ) in valid flags check
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Diffstat (limited to 'drivers/bluetooth')
-rw-r--r-- | drivers/bluetooth/hci_ldisc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/bluetooth/hci_ldisc.c b/drivers/bluetooth/hci_ldisc.c index 48a0c25..1363dc6 100644 --- a/drivers/bluetooth/hci_ldisc.c +++ b/drivers/bluetooth/hci_ldisc.c @@ -499,7 +499,7 @@ static int hci_uart_set_flags(struct hci_uart *hu, unsigned long flags) BIT(HCI_UART_INIT_PENDING) | BIT(HCI_UART_EXT_CONFIG); - if ((flags & ~valid_flags)) + if (flags & ~valid_flags) return -EINVAL; hu->hdev_flags = flags; |