aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorSergio Paracuellos <[email protected]>2019-07-20 09:29:08 +0200
committerGreg Kroah-Hartman <[email protected]>2019-07-25 09:58:26 +0200
commit7f9b583358a4fe31cdbde61e5f50d568be4cc69e (patch)
treeb7db2d1375cc02e2f74c2622f533cf2bc1b22820 /tools/perf/scripts/python
parent756e4624ddcfdc2792fe389262ba7447f22d8913 (diff)
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 <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions