summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorChristian Gromm2016-06-06 15:23:09 +0200
committerGreg Kroah-Hartman2016-08-15 19:17:04 +0200
commitb23e8e51e6dc40cfbdb0ae3f60fc0da3a3fda5a8 (patch)
treea2a541f20f9ee292aa83853554dcf97296dce1eb /tools/perf/scripts/python/net_dropmonitor.py
parent8f6f9ed15d679ad9384efd74d39aed4438cd0252 (diff)
staging: most: v4l2-aim: remove unnecessary retval
The function aim_register_videodev() uses the variables 'ret' and 'retval' to represent the same value. This patch removes 'retval' and replaces it with 'ret'. Further, it replaces the constant return value '-ENODEV' with the result returned by function video_register_device() in the event something went wrong. Signed-off-by: Andrey Shvetsov <andrey.shvetsov@k2l.de> Signed-off-by: Christian Gromm <christian.gromm@microchip.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions