summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/mem-phys-addr.py
diff options
context:
space:
mode:
authorRussell King (Oracle) <rmk+kernel@armlinux.org.uk>2022-10-27 16:10:47 +0300
committerJakub Kicinski <kuba@kernel.org>2022-10-29 07:48:30 +0300
commit5cf7797526ee81bea0f627bccaa3d887f48f53e0 (patch)
treed642c2f7b62c810596a6262cc8e51949e6637815 /tools/perf/scripts/python/mem-phys-addr.py
parentb6a709cb51f7bdc55c01cec886098a9753ce8c28 (diff)
downloadlinux-5cf7797526ee81bea0f627bccaa3d887f48f53e0.tar.xz
net: mtk_eth_soc: eliminate unnecessary error handling
The functions called by the pcs_config() method always return zero, so there is no point trying to handle an error from these functions. Make these functions void, eliminate the "err" variable and simply return zero from the pcs_config() function itself. Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions