Commit b17a87be authored by Sachin Kamat's avatar Sachin Kamat Committed by Mauro Carvalho Chehab

[media] pci: bt878: Remove redundant pci_set_drvdata

Driver core sets driver data to NULL upon failure or remove.
Signed-off-by: default avatarSachin Kamat <sachin.kamat@linaro.org>
Acked-by: default avatarManu Abraham <manu@linuxtv.org>
Signed-off-by: default avatarHans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: default avatarMauro Carvalho Chehab <m.chehab@samsung.com>
parent 7a409eba
...@@ -563,7 +563,6 @@ static void bt878_remove(struct pci_dev *pci_dev) ...@@ -563,7 +563,6 @@ static void bt878_remove(struct pci_dev *pci_dev)
bt->shutdown = 1; bt->shutdown = 1;
bt878_mem_free(bt); bt878_mem_free(bt);
pci_set_drvdata(pci_dev, NULL);
pci_disable_device(pci_dev); pci_disable_device(pci_dev);
return; return;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment