diff options
author | Sergio Paracuellos <sergio.paracuellos@gmail.com> | 2021-05-05 14:17:32 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-05-10 11:19:40 +0200 |
commit | 35d96b88e7636da9f2817292de88e5128afd2669 (patch) | |
tree | bb683117337d438872dbb0a9f3453cdba4de9a31 /drivers/watchdog/sp805_wdt.c | |
parent | 4ab4ca2015eaeb16bbc6f2d8bd11384e2e52abd5 (diff) |
staging: mt7621-pci: directly return 'mt7621_pcie_register_host'
Return code after call function 'mt7621_pcie_register_host' is
being checked to give an error message. This function internally
is calling 'pci_host_probe' which if something fails will complain
already. Hence, directly return result of this call making decrease
a bit LOC.
Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
Link: https://lore.kernel.org/r/20210505121736.6459-7-sergio.paracuellos@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/watchdog/sp805_wdt.c')
0 files changed, 0 insertions, 0 deletions