diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2013-09-20 15:41:39 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-09-25 16:45:19 -0700 |
commit | 477c81f02519b2e4e51467bbf9f32b19ab463a3b (patch) | |
tree | d47a0047e2a09ffe18f272a4a6c7085921fbbcc2 /drivers/staging/xgifb | |
parent | 27e811075b694ea28d8f167b6763785002a4ec40 (diff) | |
download | linux-stable-477c81f02519b2e4e51467bbf9f32b19ab463a3b.tar.gz linux-stable-477c81f02519b2e4e51467bbf9f32b19ab463a3b.tar.bz2 linux-stable-477c81f02519b2e4e51467bbf9f32b19ab463a3b.zip |
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>
Diffstat (limited to 'drivers/staging/xgifb')
-rw-r--r-- | drivers/staging/xgifb/XGI_main_26.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/staging/xgifb/XGI_main_26.c b/drivers/staging/xgifb/XGI_main_26.c index 3b3e17d3f6f5..b3ff603e6225 100644 --- a/drivers/staging/xgifb/XGI_main_26.c +++ b/drivers/staging/xgifb/XGI_main_26.c @@ -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 = { |