media: pt3: remove redundant assignment to mask
authorColin Ian King <colin.king@canonical.com>
Tue, 31 Oct 2017 10:19:42 +0000 (06:19 -0400)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Fri, 8 Dec 2017 15:11:22 +0000 (10:11 -0500)
commit60a881862c69d211701d9bba81203a2f44d38367
tree34cec26131814ed60e49c29a5d9d7a699d966d83
parente40d14a89760632238f67c1f96c852652a137f2d
media: pt3: remove redundant assignment to mask

Variable mask is being set to 0x80 and then set to this value again
in the following for-loop. Remove the extraneous first setting of mask.
Cleans up clang warning:

drivers/media/pci/pt3/pt3_i2c.c:88:2: warning: Value stored to 'mask'
is never read

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/pci/pt3/pt3_i2c.c