diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2011-10-06 09:17:38 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-10-11 10:01:47 -0600 |
commit | 5ba321cf175192259ea0b3cc2322986cf1194fee (patch) | |
tree | dbf4de9512812739b107c97ddeb55d6ad0c0175d /drivers/staging | |
parent | aa3e842d2c27acd3e73167eef5a347601639f2cb (diff) | |
download | op-kernel-dev-5ba321cf175192259ea0b3cc2322986cf1194fee.zip op-kernel-dev-5ba321cf175192259ea0b3cc2322986cf1194fee.tar.gz |
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>
Diffstat (limited to 'drivers/staging')
-rw-r--r-- | drivers/staging/dt3155v4l/dt3155v4l.c | 2 |
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); */ |