Commit 4395fb47 authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab

tda1997x: get rid of an unused var

1 warning regressions:
  + drivers/media/i2c/tda1997x.c: warning: variable 'last_irq_status' set but not used [-Wunused-but-set-variable]:  => 1421:17
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@s-opensource.com>
parent 9ac0038d
...@@ -1418,13 +1418,13 @@ static void tda1997x_irq_rate(struct tda1997x_state *state, u8 *flags) ...@@ -1418,13 +1418,13 @@ static void tda1997x_irq_rate(struct tda1997x_state *state, u8 *flags)
struct v4l2_subdev *sd = &state->sd; struct v4l2_subdev *sd = &state->sd;
u8 reg, source; u8 reg, source;
u8 irq_status, last_irq_status; u8 irq_status;
source = io_read(sd, REG_INT_FLG_CLR_RATE); source = io_read(sd, REG_INT_FLG_CLR_RATE);
io_write(sd, REG_INT_FLG_CLR_RATE, source); io_write(sd, REG_INT_FLG_CLR_RATE, source);
/* read status regs */ /* read status regs */
last_irq_status = irq_status = tda1997x_read_activity_status_regs(sd); irq_status = tda1997x_read_activity_status_regs(sd);
/* /*
* read clock status reg until INT_FLG_CLR_RATE is still 0 * read clock status reg until INT_FLG_CLR_RATE is still 0
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment