aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorBenjamin Romer <[email protected]>2016-02-23 10:01:54 -0500
committerGreg Kroah-Hartman <[email protected]>2016-02-25 22:40:52 -0800
commit03b93f08f8d0579a8bac4d9ab7792893e983f213 (patch)
treea1bb1379165e3e6c6ec9ac497e980e3657d5470e /tools/perf/scripts/python/net_dropmonitor.py
parent7a9749be2f7e8791e845fcf59dbf90ee0612b1dc (diff)
staging: unisys: clean up initiate_chipset_device_pause_resume()
Simplify this function by removing the goto in favor of handling errors immediately. Eliminate the vaguely-named variable x, and remove the unneeded initialization of rc. Lastly, provide meaningful error values to the callback function instead of just passing back a -1 for failure. Signed-off-by: Benjamin Romer <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions