OSDN Git Service

media: adv748x: get rid of unused var
authorMauro Carvalho Chehab <mchehab@s-opensource.com>
Wed, 19 Jul 2017 20:51:01 +0000 (16:51 -0400)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Wed, 19 Jul 2017 20:51:01 +0000 (16:51 -0400)
commitcc0ff41b0f1e2ba7785333e86b12389be211c9a3
tree8e6d9085ce693e2716ed92a3702e46ea1089bdcf
parent8d935787d38f1c2bf689f64ecfe4581e05e5fe55
media: adv748x: get rid of unused var

drivers/media/i2c/adv748x/adv748x-csi2.c: In function 'adv748x_csi2_init_controls':
drivers/media/i2c/adv748x/adv748x-csi2.c:251:20: warning: variable 'ctrl' set but not used [-Wunused-but-set-variable]
  struct v4l2_ctrl *ctrl;
                    ^~~~

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/i2c/adv748x/adv748x-csi2.c