mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-22 00:40:03 +00:00
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: 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>
This commit is contained in:
parent
e867110a9a
commit
7f9d5ac8e1
1 changed files with 0 additions and 2 deletions
|
@ -2657,8 +2657,6 @@ int cx23885_dvb_register(struct cx23885_tsport *port)
|
|||
dev->pci_bus,
|
||||
dev->pci_slot);
|
||||
|
||||
err = -ENODEV;
|
||||
|
||||
/* dvb stuff */
|
||||
/* We have to init the queue for each frontend on a port. */
|
||||
pr_info("%s: cx23885 based dvb card\n", dev->name);
|
||||
|
|
Loading…
Reference in a new issue