aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorUwe Kleine-König <[email protected]>2023-05-08 16:26:27 +0200
committerJakub Kicinski <[email protected]>2023-05-09 19:56:31 -0700
commit3246627f11c56b4ec875b7225ba9b4fe0d53c271 (patch)
treeb1543ea4bed71dce6f9e12f931f3c8d0b6fa6aa5 /tools/perf/scripts/python/net_dropmonitor.py
parent505e315bc7f53ca9c1f0e604f40e026fbcc41ed1 (diff)
net: stmmac: Make stmmac_pltfr_remove() return void
The function returns zero unconditionally. Change it to return void instead which simplifies some callers as error handing becomes unnecessary. The function is also used for some drivers as remove callback. Switch these to the .remove_new() callback. For some others no error can happen in the remove callback now, convert them to .remove_new(), too. Acked-by: Jernej Skrabec <[email protected]> Reviewed-by: Simon Horman <[email protected]> Reviewed-by: Martin Blumenstingl <[email protected]> Reviewed-by: Michal Kubiak <[email protected]> Signed-off-by: Uwe Kleine-König <[email protected]> Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions