media: mantis_dvb: remove redundant initialization to variable result
The variable result 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: Sean Young <sean@mess.org> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
This commit is contained in:
parent
f933d160b1
commit
77d30eab04
@ -135,7 +135,7 @@ static int mantis_dvb_stop_feed(struct dvb_demux_feed *dvbdmxfeed)
|
||||
int mantis_dvb_init(struct mantis_pci *mantis)
|
||||
{
|
||||
struct mantis_hwconfig *config = mantis->hwconfig;
|
||||
int result = -1;
|
||||
int result;
|
||||
|
||||
dprintk(MANTIS_DEBUG, 1, "dvb_register_adapter");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user