From: Sachin Kamat Date: Fri, 20 Sep 2013 06:32:23 +0000 (+0530) Subject: video: tcx: Remove redundant dev_set_drvdata X-Git-Tag: firefly_0821_release~176^2~4980^2~62 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=3e3d2225aef52112de7ecffd9ce611eac8a9766d;p=firefly-linux-kernel-4.4.55.git video: tcx: Remove redundant dev_set_drvdata Driver core sets driver data to NULL upon failure or remove. Signed-off-by: Sachin Kamat Signed-off-by: Tomi Valkeinen --- diff --git a/drivers/video/tcx.c b/drivers/video/tcx.c index c000852500aa..1f3a3271f3dd 100644 --- a/drivers/video/tcx.c +++ b/drivers/video/tcx.c @@ -498,8 +498,6 @@ static int tcx_remove(struct platform_device *op) framebuffer_release(info); - dev_set_drvdata(&op->dev, NULL); - return 0; }