diff options
author | Mauro Carvalho Chehab <m.chehab@samsung.com> | 2013-08-18 09:36:03 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <m.chehab@samsung.com> | 2013-08-18 09:36:03 -0300 |
commit | e5b6a69790c7112b90570db0202c6de621485fb9 (patch) | |
tree | 8aed48bd4e42d777e1202f8962f7cc370bda807d /drivers/media/platform/soc_camera | |
parent | f9fa906f00388bf326d010f36bc905cbd0b6554f (diff) | |
download | op-kernel-dev-e5b6a69790c7112b90570db0202c6de621485fb9.zip op-kernel-dev-e5b6a69790c7112b90570db0202c6de621485fb9.tar.gz |
sh_mobile_ceu_camera: Fix a compilation warning
drivers/media/platform/soc_camera/sh_mobile_ceu_camera.c: In function 'sh_mobile_ceu_clock_start':
drivers/media/platform/soc_camera/sh_mobile_ceu_camera.c:613:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
Cc: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'drivers/media/platform/soc_camera')
-rw-r--r-- | drivers/media/platform/soc_camera/sh_mobile_ceu_camera.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/media/platform/soc_camera/sh_mobile_ceu_camera.c b/drivers/media/platform/soc_camera/sh_mobile_ceu_camera.c index dae9716e3..8df22f7 100644 --- a/drivers/media/platform/soc_camera/sh_mobile_ceu_camera.c +++ b/drivers/media/platform/soc_camera/sh_mobile_ceu_camera.c @@ -610,13 +610,12 @@ static void sh_mobile_ceu_remove_device(struct soc_camera_device *icd) static int sh_mobile_ceu_clock_start(struct soc_camera_host *ici) { struct sh_mobile_ceu_dev *pcdev = ici->priv; - int ret; pm_runtime_get_sync(ici->v4l2_dev.dev); pcdev->buf_total = 0; - ret = sh_mobile_ceu_soft_reset(pcdev); + sh_mobile_ceu_soft_reset(pcdev); return 0; } |