From 064f29e00ab17ee75ffe7bd60721284b5a3d5f35 Mon Sep 17 00:00:00 2001 From: Sachin Kamat Date: Fri, 20 Sep 2013 12:02:12 +0530 Subject: video: leo: 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/leo.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'drivers/video/leo.c') diff --git a/drivers/video/leo.c b/drivers/video/leo.c index b17f5009a436..c0f61aa37696 100644 --- a/drivers/video/leo.c +++ b/drivers/video/leo.c @@ -648,8 +648,6 @@ static int leo_remove(struct platform_device *op) framebuffer_release(info); - dev_set_drvdata(&op->dev, NULL); - return 0; } -- cgit v1.2.3-58-ga151