aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stat-cpi.py
diff options
context:
space:
mode:
authorAndrey Shvetsov <[email protected]>2017-06-20 17:11:49 +0200
committerGreg Kroah-Hartman <[email protected]>2017-06-24 00:32:46 +0800
commit606c21759774a6694d4219d5bb96704ab13e20a0 (patch)
treed7e93c137ac9e49c56f552d1ea29f06d3729f57b /tools/perf/scripts/python/stat-cpi.py
parent3c1746edd12d4e3279b47a9fb8dc0eedc77d679d (diff)
staging: most: net: make net device lifetime obvious
The function aim_probe_channel calls only one of the functions alloc_netdev and register_netdev per run. Correspondingly, the function aim_disconnect_channel calls only one of the functions unregister_netdev and free_netdev per run. This patch makes it obvious by using the 'else' part of the 'if' statement. Signed-off-by: Andrey Shvetsov <[email protected]> Signed-off-by: Christian Gromm <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stat-cpi.py')
0 files changed, 0 insertions, 0 deletions