Skip to content

Commit

Permalink
Update ti960-des.c to fix allyes build errors
Browse files Browse the repository at this point in the history
  • Loading branch information
zouxiaoh authored Oct 31, 2024
1 parent 4a29afd commit 486e8b8
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions drivers/media/i2c/ti960-des.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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) {
Expand Down

0 comments on commit 486e8b8

Please sign in to comment.