aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/netdev-times.py
diff options
context:
space:
mode:
authorColin Ian King <[email protected]>2021-06-09 18:43:53 +0100
committerDavid S. Miller <[email protected]>2021-06-09 15:46:30 -0700
commitab324d8dfddad04bec0e8421242716504e31e204 (patch)
tree30bc3c6e80f9be94d05f483202897db782701e5b /tools/perf/scripts/python/netdev-times.py
parent4744bf072b4640c5e2ea65c2361ad6c832f28fa8 (diff)
net: dsa: sja1105: Fix assigned yet unused return code rc
The return code variable rc is being set to return error values in two places in sja1105_mdiobus_base_tx_register and yet it is not being returned, the function always returns 0 instead. Fix this by replacing the return 0 with the return code rc. Addresses-Coverity: ("Unused value") Fixes: 5a8f09748ee7 ("net: dsa: sja1105: register the MDIO buses for 100base-T1 and 100base-TX") Signed-off-by: Colin Ian King <[email protected]> Reviewed-by: Vladimir Oltean <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions