diff options
-rw-r--r-- | drivers/video/xilinxfb.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/video/xilinxfb.c b/drivers/video/xilinxfb.c index 84c664ea8eb9..0e1dd3380a1e 100644 --- a/drivers/video/xilinxfb.c +++ b/drivers/video/xilinxfb.c @@ -369,7 +369,6 @@ err_fbmem: err_region: kfree(drvdata); - dev_set_drvdata(dev, NULL); return rc; } @@ -404,7 +403,6 @@ static int xilinxfb_release(struct device *dev) #endif kfree(drvdata); - dev_set_drvdata(dev, NULL); return 0; } |