Commit 5ba321cf authored by Dan Carpenter's avatar Dan Carpenter Committed by Greg Kroah-Hartman

Staging: dt3155v4l: silence a compiler warning

The '!' is dead code that was left over from a previous version.
It causes a compiler warning:
drivers/staging/dt3155v4l/dt3155v4l.c:335:3: warning: value computed
	is not used
Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent aa3e842d
...@@ -331,7 +331,7 @@ dt3155_irq_handler_even(int irq, void *dev_id) ...@@ -331,7 +331,7 @@ dt3155_irq_handler_even(int irq, void *dev_id)
return IRQ_HANDLED; /* start of field irq */ return IRQ_HANDLED; /* start of field irq */
} }
if ((tmp & FLD_START) && (tmp & FLD_END_ODD)) if ((tmp & FLD_START) && (tmp & FLD_END_ODD))
!ipd->stats.start_before_end++; ipd->stats.start_before_end++;
/* check for corrupted fields */ /* check for corrupted fields */
/* write_i2c_reg(ipd->regs, EVEN_CSR, CSR_ERROR | CSR_DONE); */ /* write_i2c_reg(ipd->regs, EVEN_CSR, CSR_ERROR | CSR_DONE); */
/* write_i2c_reg(ipd->regs, ODD_CSR, CSR_ERROR | CSR_DONE); */ /* write_i2c_reg(ipd->regs, ODD_CSR, CSR_ERROR | CSR_DONE); */
......
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