From 486e8b8e35e4fb7fdb279f69a60e65a102bd0b49 Mon Sep 17 00:00:00 2001 From: zouxiaoh Date: Thu, 31 Oct 2024 18:56:07 +0800 Subject: [PATCH] Update ti960-des.c to fix allyes build errors --- drivers/media/i2c/ti960-des.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/media/i2c/ti960-des.c b/drivers/media/i2c/ti960-des.c index d337517953b5..0d7965d8b33c 100644 --- a/drivers/media/i2c/ti960-des.c +++ b/drivers/media/i2c/ti960-des.c @@ -750,9 +750,8 @@ static int ti960_registered(struct v4l2_subdev *subdev) { struct ti960 *va = to_ti960(subdev); struct i2c_client *client = v4l2_get_subdevdata(subdev); - int i, j, k, l, m, rval; + int i, j, k, l, rval; bool port_registered[NR_OF_TI960_SINK_PADS]; - unsigned char val; for (i = 0 ; i < NR_OF_TI960_SINK_PADS; i++) port_registered[i] = false; @@ -1786,7 +1785,6 @@ static int ti960_resume(struct device *dev) int i, rval; struct ti960_subdev *sensor_subdev; struct ti960_subdev_pdata *pdata; - unsigned char val; rval = ti960_init(va); if (rval) {