aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/netdev-times.py
diff options
context:
space:
mode:
authorDmitry Torokhov <[email protected]>2015-07-20 16:02:50 -0700
committerAlexandre Belloni <[email protected]>2015-09-05 13:19:07 +0200
commitc3b399a4b6703a04ef6eb3efe35ff12163e409e0 (patch)
treecba87c8b65243980ee3d2cef8a68d621ad74b2f8 /tools/perf/scripts/python/netdev-times.py
parent6706664d92ea841913d5fcfd06c290fbe6d33bd2 (diff)
rtc: class: remove unnecessary device_get() in rtc_device_unregister
Technically the address of rtc->dev can never be NULL, so get_device() can never fail. Also caller of rtc_device_unregister() supposed to be the owner of the device and thus have a valid reference. Therefore call to get_device() is not needed here. Signed-off-by: Dmitry Torokhov <[email protected]> Reviewed-by: Krzysztof Kozlowski <[email protected]> Signed-off-by: Alexandre Belloni <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions