linux/drivers/staging/mt7621-pci
Sergio Paracuellos 7f9b583358 staging: mt7621-pci: avoid use 'err' local variable
Function 'mt7621_pcie_request_resources' is using 'err'
local variable to get value returned from 'devm_request_pci_bus_resources'
and returning after that. This is not needed at all. Instead of that
just directly return returned value by the function which is also
returning zero on success.

Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
Link: https://lore.kernel.org/r/20190720072908.16795-1-sergio.paracuellos@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-07-25 09:58:26 +02:00
..
Kconfig staging: add missing SPDX lines to Kconfig files 2019-04-03 11:10:15 +02:00
Makefile staging: add missing SPDX lines to Makefile files 2019-04-03 11:10:15 +02:00
TODO staging: mt7621-pci: update driver's TODO file 2019-02-11 10:02:50 +01:00
mediatek,mt7621-pci.txt staging: mt7621-pci: dt-bindings: add perst-gpio to sample bindings 2019-06-20 14:45:50 +02:00
pci-mt7621.c staging: mt7621-pci: avoid use 'err' local variable 2019-07-25 09:58:26 +02:00