diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2013-09-20 12:36:19 +0400 |
---|---|---|
committer | Mauro Carvalho Chehab <m.chehab@samsung.com> | 2013-10-17 13:03:39 +0400 |
commit | 7a409ebaec532a1c1572f677fad9b58f007b43d7 (patch) | |
tree | fddfeb314ac364fe5235db9026ac169f72ceaee3 /drivers/media/pci/saa7164 | |
parent | a508db8705ec997092d07231b8aa3c53e348752e (diff) | |
download | linux-7a409ebaec532a1c1572f677fad9b58f007b43d7.tar.xz |
[media] pci: saa7164: 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/saa7164')
-rw-r--r-- | drivers/media/pci/saa7164/saa7164-core.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/media/pci/saa7164/saa7164-core.c b/drivers/media/pci/saa7164/saa7164-core.c index d37ee37aaefe..41adf260d13b 100644 --- a/drivers/media/pci/saa7164/saa7164-core.c +++ b/drivers/media/pci/saa7164/saa7164-core.c @@ -1439,7 +1439,6 @@ static void saa7164_finidev(struct pci_dev *pci_dev) /* unregister stuff */ free_irq(pci_dev->irq, dev); - pci_set_drvdata(pci_dev, NULL); mutex_lock(&devlist); list_del(&dev->devlist); |