Skip to content

Commit cb643df

Browse files
Sachin Kamattomba
authored andcommitted
video: sunxvr1000: Remove redundant dev_set_drvdata
Driver core sets driver data to NULL upon failure or remove. Signed-off-by: Sachin Kamat <[email protected]> Signed-off-by: Tomi Valkeinen <[email protected]>
1 parent cacb413 commit cb643df

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

drivers/video/sunxvr1000.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -186,8 +186,6 @@ static int gfb_remove(struct platform_device *op)
186186

187187
framebuffer_release(info);
188188

189-
dev_set_drvdata(&op->dev, NULL);
190-
191189
return 0;
192190
}
193191

0 commit comments

Comments
 (0)