projects
/
profile
/
common
/
platform
/
kernel
/
linux-artik7.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c3370de
)
Bluetooth: Remove unneeded extra ( ) in valid flags check
author
Marcel Holtmann
<marcel@holtmann.org>
Wed, 1 Apr 2015 20:51:51 +0000
(13:51 -0700)
committer
Johan Hedberg
<johan.hedberg@intel.com>
Thu, 2 Apr 2015 05:41:21 +0000
(08:41 +0300)
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
drivers/bluetooth/hci_ldisc.c
patch
|
blob
|
history
diff --git
a/drivers/bluetooth/hci_ldisc.c
b/drivers/bluetooth/hci_ldisc.c
index
48a0c25
..
1363dc6
100644
(file)
--- 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;