diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2013-09-20 10:36:14 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <m.chehab@samsung.com> | 2013-10-17 11:01:05 +0200 |
commit | c0d4021f6ca04061f5b17a1468eed666ebe43e67 (patch) | |
tree | 4d822b8d19b2354e4149bdb238d9ea0996a5f5b1 /drivers/media/pci/cx88/cx88-mpeg.c | |
parent | [media] pci: flexcop: Remove redundant pci_set_drvdata (diff) | |
download | linux-c0d4021f6ca04061f5b17a1468eed666ebe43e67.tar.xz linux-c0d4021f6ca04061f5b17a1468eed666ebe43e67.zip |
[media] pci: cx88: Remove redundant pci_set_drvdata
Driver core sets driver data to NULL upon failure or remove.
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'drivers/media/pci/cx88/cx88-mpeg.c')
-rw-r--r-- | drivers/media/pci/cx88/cx88-mpeg.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/media/pci/cx88/cx88-mpeg.c b/drivers/media/pci/cx88/cx88-mpeg.c index e31a75fefbdf..684eff57717f 100644 --- a/drivers/media/pci/cx88/cx88-mpeg.c +++ b/drivers/media/pci/cx88/cx88-mpeg.c @@ -520,7 +520,6 @@ static void cx8802_fini_common(struct cx8802_dev *dev) /* unregister stuff */ free_irq(dev->pci->irq, dev); - pci_set_drvdata(dev->pci, NULL); /* free memory */ btcx_riscmem_free(dev->pci,&dev->mpegq.stopper); |