projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8f004f4
)
ACPI / hotplug / PCI: Drop unnecessary parentheses
author
Mika Westerberg
<
[email protected]
>
Thu, 24 May 2018 18:25:15 +0000
(13:25 -0500)
committer
Bjorn Helgaas
<
[email protected]
>
Mon, 4 Jun 2018 17:08:06 +0000
(12:08 -0500)
Remove unnecessary parentheses.
Signed-off-by: Mika Westerberg <
[email protected]
>
Signed-off-by: Bjorn Helgaas <
[email protected]
>
Reviewed-by: Rafael J. Wysocki <
[email protected]
>
drivers/pci/hotplug/acpiphp_glue.c
patch
|
blob
|
history
diff --git
a/drivers/pci/hotplug/acpiphp_glue.c
b/drivers/pci/hotplug/acpiphp_glue.c
index b526565b0464e62fd8caf3cfe5e9d1568c980054..3a17b290df5dd74010740762eb5dc00e163b32ec 100644
(file)
--- a/
drivers/pci/hotplug/acpiphp_glue.c
+++ b/
drivers/pci/hotplug/acpiphp_glue.c
@@
-522,7
+522,7
@@
static void enable_slot(struct acpiphp_slot *slot)
if (!dev) {
/* Do not set SLOT_ENABLED flag if some funcs
are not added. */
- slot->flags &=
(~SLOT_ENABLED)
;
+ slot->flags &=
~SLOT_ENABLED
;
continue;
}
}
@@
-551,7
+551,7
@@
static void disable_slot(struct acpiphp_slot *slot)
list_for_each_entry(func, &slot->funcs, sibling)
acpi_bus_trim(func_to_acpi_device(func));
- slot->flags &=
(~SLOT_ENABLED)
;
+ slot->flags &=
~SLOT_ENABLED
;
}
static bool slot_no_hotplug(struct acpiphp_slot *slot)