diff options
author | Jingoo Han <jg1.han@samsung.com> | 2013-09-12 15:59:13 +0900 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2013-09-19 13:30:09 +0300 |
commit | 354b40c4a2f99461f86a5dc8a62e59acd18b08ea (patch) | |
tree | 6776c724038eff0624b71fdb6cedec1719b92a3a /drivers/video | |
parent | 76347609ae082a0d4bad223f0b076c51bb006b16 (diff) | |
download | blackbird-obmc-linux-354b40c4a2f99461f86a5dc8a62e59acd18b08ea.tar.gz blackbird-obmc-linux-354b40c4a2f99461f86a5dc8a62e59acd18b08ea.zip |
video: s3fb: 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')
-rw-r--r-- | drivers/video/s3fb.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/video/s3fb.c b/drivers/video/s3fb.c index 47ca86c5c6c0..d158d2c0460f 100644 --- a/drivers/video/s3fb.c +++ b/drivers/video/s3fb.c @@ -1431,7 +1431,6 @@ static void s3_pci_remove(struct pci_dev *dev) pci_release_regions(dev); /* pci_disable_device(dev); */ - pci_set_drvdata(dev, NULL); framebuffer_release(info); } } |