diff options
| author | Mauro Carvalho Chehab <[email protected]> | 2018-04-16 12:37:10 -0400 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2018-05-16 10:32:11 -0400 |
| commit | 0015b19070ed2f12b8504c2720b5a349f34e297d (patch) | |
| tree | 5c821c1eaff97adf7662b5abf5166a747e159c47 /tools/perf/scripts/python | |
| parent | e5c0680fd2c44252868fe4062558925b5506b179 (diff) | |
media: atomisp-gc0310: return errors at gc0310_init()
If something wrong gets there, return the error.
Get rid of this warning:
drivers/staging/media/atomisp/i2c/atomisp-gc0310.c: In function 'gc0310_init':
drivers/staging/media/atomisp/i2c/atomisp-gc0310.c:713:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
int ret;
^~~
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Signed-off-by: Sakari Ailus <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions