From: Sachin Kamat Date: Fri, 20 Sep 2013 06:32:17 +0000 (+0530) Subject: video: cg3: Remove redundant dev_set_drvdata X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=3d2ae2dc9e58abd9a92e686231b17476a3ace2ce;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git video: cg3: 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/cg3.c b/drivers/video/cg3.c index 9f63507ded37..64a89d5747ed 100644 --- a/drivers/video/cg3.c +++ b/drivers/video/cg3.c @@ -446,8 +446,6 @@ static int cg3_remove(struct platform_device *op) framebuffer_release(info); - dev_set_drvdata(&op->dev, NULL); - return 0; }