diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2015-04-01 22:51:51 +0200 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@intel.com> | 2015-04-02 07:41:21 +0200 |
commit | 41533fe5b4f92adb3c40f263b889dc6addff550e (patch) | |
tree | 18ad2a638c0a049103b4742fc99b14468edd27f6 /drivers/bluetooth | |
parent | Bluetooth: Expose current Device ID information via debugfs (diff) | |
download | linux-41533fe5b4f92adb3c40f263b889dc6addff550e.tar.xz linux-41533fe5b4f92adb3c40f263b889dc6addff550e.zip |
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) BIT(HCI_UART_INIT_PENDING) | BIT(HCI_UART_EXT_CONFIG); - if ((flags & ~valid_flags)) + if (flags & ~valid_flags) return -EINVAL; hu->hdev_flags = flags; |