Commit 7f9d5ac8 authored by Colin Ian King's avatar Colin Ian King Committed by Mauro Carvalho Chehab

media: cx23885: remove redundant assignment to err

The variable err is assigned with a value that is never read and
it is re-assigned a new value later on.  The assignment is redundant
and can be removed.

Addresses-Coverity: ("Unused value")
Signed-off-by: default avatarColin Ian King <colin.king@canonical.com>
Signed-off-by: default avatarHans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+samsung@kernel.org>
parent e867110a
...@@ -2657,8 +2657,6 @@ int cx23885_dvb_register(struct cx23885_tsport *port) ...@@ -2657,8 +2657,6 @@ int cx23885_dvb_register(struct cx23885_tsport *port)
dev->pci_bus, dev->pci_bus,
dev->pci_slot); dev->pci_slot);
err = -ENODEV;
/* dvb stuff */ /* dvb stuff */
/* We have to init the queue for each frontend on a port. */ /* We have to init the queue for each frontend on a port. */
pr_info("%s: cx23885 based dvb card\n", dev->name); pr_info("%s: cx23885 based dvb card\n", dev->name);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment