summaryrefslogtreecommitdiff
path: root/drivers/pci/hotplug/cpqphp_nvram.h
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_nvram.h
parentb071c1fd7a8ad041759d9a9e87d1b4333417e36c (diff)
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_nvram.h')
-rw-r--r--drivers/pci/hotplug/cpqphp_nvram.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/pci/hotplug/cpqphp_nvram.h b/drivers/pci/hotplug/cpqphp_nvram.h
index 918ff8dbfe62..70e879b6a23f 100644
--- a/drivers/pci/hotplug/cpqphp_nvram.h
+++ b/drivers/pci/hotplug/cpqphp_nvram.h
@@ -16,10 +16,7 @@
#ifndef CONFIG_HOTPLUG_PCI_COMPAQ_NVRAM
-static inline void compaq_nvram_init(void __iomem *rom_start)
-{
- return;
-}
+static inline void compaq_nvram_init(void __iomem *rom_start) { }
static inline int compaq_nvram_load(void __iomem *rom_start, struct controller *ctrl)
{