diff options
author | Colin Ian King <colin.king@canonical.com> | 2019-05-30 20:59:24 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | 2019-06-03 16:44:58 +0200 |
commit | 7f9d5ac8e1e5af43a899110ddaa0b0c9374d1909 (patch) | |
tree | ceebc74c368f1762e4abb22222f19a89c41cb1da /drivers/media/pci/cx23885/cx23885-dvb.c | |
parent | media: dvb-usb/cxusb-analog.c: fix coccinelle warning, use ktime.h (diff) | |
download | linux-7f9d5ac8e1e5af43a899110ddaa0b0c9374d1909.tar.xz linux-7f9d5ac8e1e5af43a899110ddaa0b0c9374d1909.zip |
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>
Diffstat (limited to 'drivers/media/pci/cx23885/cx23885-dvb.c')
-rw-r--r-- | drivers/media/pci/cx23885/cx23885-dvb.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/media/pci/cx23885/cx23885-dvb.c b/drivers/media/pci/cx23885/cx23885-dvb.c index e2e63f05645e..13595fcb6a40 100644 --- a/drivers/media/pci/cx23885/cx23885-dvb.c +++ b/drivers/media/pci/cx23885/cx23885-dvb.c @@ -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); |