diff options
author | Jingoo Han <jg1.han@samsung.com> | 2013-09-12 10:54:53 +0400 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2013-09-19 14:30:07 +0400 |
commit | 6a20807905b6cf84026f78f25aee2ccc0e4d0d3e (patch) | |
tree | eed73b13d6b4c9b1f1cdc3d9e9be48718a648846 /drivers/video/i740fb.c | |
parent | 44f75bfdbea0a2364dda7d733b5a2e4e31de5482 (diff) | |
download | linux-6a20807905b6cf84026f78f25aee2ccc0e4d0d3e.tar.xz |
video: i740fb: remove unnecessary pci_set_drvdata()
The driver core clears the driver data to NULL after device_release
or on probe failure. Thus, it is not needed to manually clear the
device driver data to NULL.
Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'drivers/video/i740fb.c')
-rw-r--r-- | drivers/video/i740fb.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/video/i740fb.c b/drivers/video/i740fb.c index 6c4838818950..6501ac1dba0f 100644 --- a/drivers/video/i740fb.c +++ b/drivers/video/i740fb.c @@ -1194,7 +1194,6 @@ static void i740fb_remove(struct pci_dev *dev) pci_iounmap(dev, info->screen_base); pci_release_regions(dev); /* pci_disable_device(dev); */ - pci_set_drvdata(dev, NULL); framebuffer_release(info); } } |