diff options
author | Krzysztof Wilczynski <kw@linux.com> | 2019-08-26 01:10:39 +0300 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2019-08-30 22:00:34 +0300 |
commit | 55507aea58824578610eb0cb5c250a0c997987c9 (patch) | |
tree | be2411331f8da8131a52f91d2437fbb7d9acddae /drivers/pci/hotplug/cpqphp_nvram.h | |
parent | b071c1fd7a8ad041759d9a9e87d1b4333417e36c (diff) | |
download | linux-55507aea58824578610eb0cb5c250a0c997987c9.tar.xz |
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.h | 5 |
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) { |