diff options
| author | 2016-06-06 15:23:09 +0200 | |
|---|---|---|
| committer | 2016-08-15 19:17:04 +0200 | |
| commit | b23e8e51e6dc40cfbdb0ae3f60fc0da3a3fda5a8 (patch) | |
| tree | a2a541f20f9ee292aa83853554dcf97296dce1eb /scripts | |
| parent | staging: most: v4l2-aim: replace pr_xx calls by v4l2_xx calls (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 'scripts')
0 files changed, 0 insertions, 0 deletions
