diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2013-09-20 04:36:20 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <m.chehab@samsung.com> | 2013-10-17 05:03:48 -0400 |
commit | b17a87be20efbeef05bec0f41807004229f2991f (patch) | |
tree | 6f2ac96451bc4377a81d300860eb94cb397908c3 | |
parent | 7a409ebaec532a1c1572f677fad9b58f007b43d7 (diff) |
[media] pci: bt878: 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>
Acked-by: Manu Abraham <manu@linuxtv.org>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
-rw-r--r-- | drivers/media/pci/bt8xx/bt878.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/media/pci/bt8xx/bt878.c b/drivers/media/pci/bt8xx/bt878.c index 66eb0baab0e9..2bd24839a2ae 100644 --- a/drivers/media/pci/bt8xx/bt878.c +++ b/drivers/media/pci/bt8xx/bt878.c | |||
@@ -563,7 +563,6 @@ static void bt878_remove(struct pci_dev *pci_dev) | |||
563 | bt->shutdown = 1; | 563 | bt->shutdown = 1; |
564 | bt878_mem_free(bt); | 564 | bt878_mem_free(bt); |
565 | 565 | ||
566 | pci_set_drvdata(pci_dev, NULL); | ||
567 | pci_disable_device(pci_dev); | 566 | pci_disable_device(pci_dev); |
568 | return; | 567 | return; |
569 | } | 568 | } |