projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.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
|
blame
|
history
diff --git
a/drivers/bluetooth/hci_ldisc.c
b/drivers/bluetooth/hci_ldisc.c
index 48a0c250d5b83d7fe353daee1b99cf06afdab454..1363dc616ace2f751443d6f70adeea976f5a461d 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;