summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2011-10-06 06:17:38 (GMT)
committerGreg Kroah-Hartman <gregkh@suse.de>2011-10-11 16:01:47 (GMT)
commit5ba321cf175192259ea0b3cc2322986cf1194fee (patch)
treedbf4de9512812739b107c97ddeb55d6ad0c0175d
parentaa3e842d2c27acd3e73167eef5a347601639f2cb (diff)
downloadlinux-fsl-qoriq-5ba321cf175192259ea0b3cc2322986cf1194fee.tar.xz
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: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
-rw-r--r--drivers/staging/dt3155v4l/dt3155v4l.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/dt3155v4l/dt3155v4l.c b/drivers/staging/dt3155v4l/dt3155v4l.c
index 05b6a2a..5b212dc 100644
--- a/drivers/staging/dt3155v4l/dt3155v4l.c
+++ b/drivers/staging/dt3155v4l/dt3155v4l.c
@@ -331,7 +331,7 @@ dt3155_irq_handler_even(int irq, void *dev_id)
return IRQ_HANDLED; /* start of field irq */
}
if ((tmp & FLD_START) && (tmp & FLD_END_ODD))
- !ipd->stats.start_before_end++;
+ ipd->stats.start_before_end++;
/* check for corrupted fields */
/* write_i2c_reg(ipd->regs, EVEN_CSR, CSR_ERROR | CSR_DONE); */
/* write_i2c_reg(ipd->regs, ODD_CSR, CSR_ERROR | CSR_DONE); */