]> git.baikalelectronics.ru Git - kernel.git/commit
media: cx231xx: remove redundant assignment to variable status
authorColin Ian King <colin.king@canonical.com>
Tue, 3 Sep 2019 17:06:39 +0000 (14:06 -0300)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Tue, 5 Nov 2019 11:29:13 +0000 (08:29 -0300)
commit3d0550b1ac35c3802edea8754d81ae902e0e0fcf
tree582eb54a874ae905fb5af8a65e35022fbe40a91c
parent8783eff8fe63d93a90f99f517f72c2dff645dfd1
media: cx231xx: remove redundant assignment to variable status

Variable status is being initialized with a value that is never read
and is being re-assigned a later on. The assignment is redundant and
hence 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@kernel.org>
drivers/media/usb/cx231xx/cx231xx-avcore.c