staging: xgifb: 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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Родитель
27e811075b
Коммит
477c81f025
|
@ -2070,7 +2070,6 @@ static void xgifb_remove(struct pci_dev *pdev)
|
|||
release_mem_region(xgifb_info->video_base, xgifb_info->video_size);
|
||||
pci_disable_device(pdev);
|
||||
framebuffer_release(fb_info);
|
||||
pci_set_drvdata(pdev, NULL);
|
||||
}
|
||||
|
||||
static struct pci_driver xgifb_driver = {
|
||||
|
|
Загрузка…
Ссылка в новой задаче