]> git.baikalelectronics.ru Git - kernel.git/commit
media: cobalt: remove redundant assignment to variable data
authorColin Ian King <colin.king@canonical.com>
Wed, 3 Jul 2019 08:00:35 +0000 (04:00 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Tue, 23 Jul 2019 12:52:13 +0000 (08:52 -0400)
commit4ee6518a76d667d2b9bc010bbd47b2f52f29efb7
tree655fa49aace7da11abc6132e0d5ed20e76383cd7
parent1fb980c2362cbb7109f4b0b2be253ee789407892
media: cobalt: remove redundant assignment to variable data

The variable data 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: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/pci/cobalt/cobalt-flash.c