[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>
This commit is contained in:
parent
7a409ebaec
commit
b17a87be20
1 changed files with 0 additions and 1 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue