diff options
author | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2018-04-16 12:37:10 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | 2018-05-16 10:32:11 -0400 |
commit | 0015b19070ed2f12b8504c2720b5a349f34e297d (patch) | |
tree | 5c821c1eaff97adf7662b5abf5166a747e159c47 /drivers/remoteproc | |
parent | e5c0680fd2c44252868fe4062558925b5506b179 (diff) | |
download | op-kernel-dev-0015b19070ed2f12b8504c2720b5a349f34e297d.zip op-kernel-dev-0015b19070ed2f12b8504c2720b5a349f34e297d.tar.gz |
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 <mchehab@s-opensource.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'drivers/remoteproc')
0 files changed, 0 insertions, 0 deletions