diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2015-04-01 16:51:51 -0400 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@intel.com> | 2015-04-02 01:41:21 -0400 |
commit | 41533fe5b4f92adb3c40f263b889dc6addff550e (patch) | |
tree | 18ad2a638c0a049103b4742fc99b14468edd27f6 /drivers/bluetooth | |
parent | c3370de64d563fa0db5e773b97b77ea7a961d131 (diff) |
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 48a0c250d5b8..1363dc616ace 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) | |||
499 | BIT(HCI_UART_INIT_PENDING) | | 499 | BIT(HCI_UART_INIT_PENDING) | |
500 | BIT(HCI_UART_EXT_CONFIG); | 500 | BIT(HCI_UART_EXT_CONFIG); |
501 | 501 | ||
502 | if ((flags & ~valid_flags)) | 502 | if (flags & ~valid_flags) |
503 | return -EINVAL; | 503 | return -EINVAL; |
504 | 504 | ||
505 | hu->hdev_flags = flags; | 505 | hu->hdev_flags = flags; |