ACPI / hotplug / PCI: Drop unnecessary parentheses
PATCH 1/1 ACPI / hotplug / PCI: Drop unnecessary parentheses
There is no need for them and it makes the code look uglier than it should. Remove them.
Signed-off-by Mika Westerberg <[email protected]>
--- drivers/pci/hotplug/acpiphp_glue.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/pci/hotplug/acpiphp_glue.c +1 -1
@@ -527,7 +527,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)
Signature · 1 line
2.14.1
Quoted 4 lines · CEST Mika Westerberg
There is no need for them and it makes the code look uglier than it should. Remove them.
Signed-off-by Mika Westerberg <[email protected]>
Quoted 18 lines
--- drivers/pci/hotplug/acpiphp_glue.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/pci/hotplug/acpiphp_glue.c +1
-1@@ -527,7 +527,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)