aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/pci/hotplug/cpqphp_ctrl.c
diff options
context:
space:
mode:
authorKrzysztof Wilczynski <kw@linux.com>2019-08-26 00:10:39 +0200
committerBjorn Helgaas <bhelgaas@google.com>2019-08-30 14:00:34 -0500
commit55507aea58824578610eb0cb5c250a0c997987c9 (patch)
treebe2411331f8da8131a52f91d2437fbb7d9acddae /drivers/pci/hotplug/cpqphp_ctrl.c
parentPCI: OF: Correct of_irq_parse_pci() documentation (diff)
downloadwireguard-linux-55507aea58824578610eb0cb5c250a0c997987c9.tar.xz
wireguard-linux-55507aea58824578610eb0cb5c250a0c997987c9.zip
PCI: Remove unnecessary returns
Remove unnecessary "return" statements at the end of void functions. No functional change intended. Link: https://lore.kernel.org/r/20190825221039.6977-1-kw@linux.com Link: https://lore.kernel.org/r/20190826095143.21353-1-kw@linux.com Signed-off-by: Krzysztof Wilczynski <kw@linux.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'drivers/pci/hotplug/cpqphp_ctrl.c')
-rw-r--r--drivers/pci/hotplug/cpqphp_ctrl.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/pci/hotplug/cpqphp_ctrl.c b/drivers/pci/hotplug/cpqphp_ctrl.c
index b7f4e1f099d9..68de958a9be8 100644
--- a/drivers/pci/hotplug/cpqphp_ctrl.c
+++ b/drivers/pci/hotplug/cpqphp_ctrl.c
@@ -1872,8 +1872,6 @@ static void interrupt_event_handler(struct controller *ctrl)
}
} /* End of FOR loop */
}
-
- return;
}
@@ -1943,8 +1941,6 @@ void cpqhp_pushbutton_thread(struct timer_list *t)
p_slot->state = STATIC_STATE;
}
-
- return;
}