From d2b800c0c99e9fbeabdf8b14adfcf6db2e6e0784 Mon Sep 17 00:00:00 2001 From: Sachin Kamat Date: Fri, 20 Sep 2013 12:02:18 +0530 Subject: [PATCH] video: cg6: 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 --- drivers/video/cg6.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/video/cg6.c b/drivers/video/cg6.c index 3545decc7485..f070ec3b0f0a 100644 --- a/drivers/video/cg6.c +++ b/drivers/video/cg6.c @@ -839,8 +839,6 @@ static int cg6_remove(struct platform_device *op) framebuffer_release(info); - dev_set_drvdata(&op->dev, NULL); - return 0; } -- 2.20.1