[media] ml86v7667: fix compile warning: 'ret' set but not used
authorHans Verkuil <hans.verkuil@cisco.com>
Sun, 30 Jun 2013 07:40:32 +0000 (04:40 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Tue, 3 Sep 2013 12:24:17 +0000 (09:24 -0300)
commit037f4e6b6be47dcfb3f4e78e5c6abe7da92da1dd
tree80a3e31598dbf5066ba848fca95249e13cdee7a9
parent8a09a4cc9bd9389dc6a3b5b2dd3a7d64d2fab7e1
[media] ml86v7667: fix compile warning: 'ret' set but not used

media_build/v4l/ml86v7667.c: In function 'ml86v7667_s_ctrl':
media_build/v4l/ml86v7667.c:120:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
  int ret;
      ^
And indeed, ret is set but not used. Let's actually return the error
code.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/i2c/ml86v7667.c