diff options
author | Quentin Lambert <lambert.quentin@gmail.com> | 2014-09-07 20:02:47 +0200 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2014-09-24 07:49:20 -0600 |
commit | 656f978f9af9d8d77436e8159f51f7aa1e673309 (patch) | |
tree | d1cad3653ac41062a854eb0bc0f25fc03767f766 /drivers/pci/hotplug/cpci_hotplug_core.c | |
parent | 382a9c9adc1cd540f5b714b65db315fc1c0b553d (diff) | |
download | linux-stable-656f978f9af9d8d77436e8159f51f7aa1e673309.tar.gz linux-stable-656f978f9af9d8d77436e8159f51f7aa1e673309.tar.bz2 linux-stable-656f978f9af9d8d77436e8159f51f7aa1e673309.zip |
PCI: Remove unnecessary curly braces
Remove curly braces in simple "if" cases.
No functional change.
Signed-off-by: Quentin Lambert <lambert.quentin@gmail.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'drivers/pci/hotplug/cpci_hotplug_core.c')
-rw-r--r-- | drivers/pci/hotplug/cpci_hotplug_core.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/pci/hotplug/cpci_hotplug_core.c b/drivers/pci/hotplug/cpci_hotplug_core.c index e09cf7827d68..8359e29156ea 100644 --- a/drivers/pci/hotplug/cpci_hotplug_core.c +++ b/drivers/pci/hotplug/cpci_hotplug_core.c @@ -467,9 +467,9 @@ check_slots(void) __func__, slot_name(slot), hs_csr); if (!slot->extracting) { - if (update_latch_status(slot->hotplug_slot, 0)) { + if (update_latch_status(slot->hotplug_slot, 0)) warn("failure to update latch file"); - } + slot->extracting = 1; atomic_inc(&extracting); } |