]> git.baikalelectronics.ru Git - kernel.git/commit
media: mantis: remove redundant assignment to variable err
authorColin Ian King <colin.king@canonical.com>
Fri, 10 Apr 2020 11:39:13 +0000 (13:39 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Fri, 27 Nov 2020 10:12:27 +0000 (11:12 +0100)
commitd5a290611ddfe9b8ed4b89966d6c854447add936
tree458596be34b59ef1bd76a06b2fd40de2abab6552
parent6c1594d2ac1bbc2f6cef2df53a9a7b8e3faac993
media: mantis: remove redundant assignment to variable err

The variable err 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: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/pci/mantis/hopper_vp3028.c