From: Sachin Kamat Date: Fri, 20 Sep 2013 06:32:23 +0000 (+0530) Subject: video: tcx: Remove redundant dev_set_drvdata X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=3e3d2225aef52112de7ecffd9ce611eac8a9766d;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.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; }