mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 15:11:48 -04:00
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:
parent
27e811075b
commit
477c81f025
1 changed files with 0 additions and 1 deletions
|
|
@ -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 = {
|
||||
|
|
|
|||
Loading…
Reference in a new issue