]> git.baikalelectronics.ru Git - kernel.git/commit
nfc: st-nci: remove redundant assignment to variable r
authorColin Ian King <colin.king@canonical.com>
Tue, 2 Jul 2019 13:16:42 +0000 (14:16 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 2 Jul 2019 19:00:50 +0000 (12:00 -0700)
commit7784746885ec9a2f85445eab42741dc094f0f942
treefe24757fb7c24ee2a68c6f02890369942ad25b48
parentbf44e6da7baf2d6c9ad1196028cd5de41246f033
nfc: st-nci: remove redundant assignment to variable r

The variable r is being initialized with a value that is never
read and it is being updated later with a new value. The
initialization is redundant and can be removed.

Addresses-Coverity: ("Unused value")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/nfc/st-nci/i2c.c