summaryrefslogtreecommitdiffstats
path: root/drivers/media/i2c/tc358743.c
diff options
context:
space:
mode:
authorGustavo A. R. Silva2017-06-15 18:49:14 +0200
committerMauro Carvalho Chehab2017-06-20 14:06:44 +0200
commitc21e8b594c92eda3b04a31556277a9d72ca441b7 (patch)
treeed5d314343e226e68e828d9ed56354df191d85ff /drivers/media/i2c/tc358743.c
parent[media] MAINTAINERS: solo6x10: update Andrey Utkin email (diff)
downloadkernel-qcow2-linux-c21e8b594c92eda3b04a31556277a9d72ca441b7.tar.gz
kernel-qcow2-linux-c21e8b594c92eda3b04a31556277a9d72ca441b7.tar.xz
kernel-qcow2-linux-c21e8b594c92eda3b04a31556277a9d72ca441b7.zip
[media] i2c: tc358743: remove useless variable assignment in tc358743_isr
Remove useless variable assignment in function tc358743_isr(). The value stored in variable _intstatus_ at line 1299 is overwritten at line 1302, just before it can be used. Addresses-Coverity-ID: 1397678 Signed-off-by: Gustavo A. R. Silva <garsilva@embeddedor.com> Signed-off-by: Hans Verkuil <hansverk@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/media/i2c/tc358743.c')
-rw-r--r--drivers/media/i2c/tc358743.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/media/i2c/tc358743.c b/drivers/media/i2c/tc358743.c
index 8c54013984ed..5788af238b86 100644
--- a/drivers/media/i2c/tc358743.c
+++ b/drivers/media/i2c/tc358743.c
@@ -1303,7 +1303,6 @@ static int tc358743_isr(struct v4l2_subdev *sd, u32 status, bool *handled)
tc358743_csi_err_int_handler(sd, handled);
i2c_wr16(sd, INTSTATUS, MASK_CSI_INT);
- intstatus &= ~MASK_CSI_INT;
}
intstatus = i2c_rd16(sd, INTSTATUS);