[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>
Fri, 26 Jul 2013 13:14:10 +0000 (10:14 -0300)
commit3f1a94ba9fce90dbe0d26806a027964bea7adc14
treeb1531aa247c29feb4e3e071701e3eb6e43e446f4
parent8b64f75588ad87c9d6daa385817a4d43af6877be
[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