diff mbox series

drm/mcde: Drop double-assignment of mcde

Message ID 20191104154249.16887-1-linus.walleij@linaro.org
State New
Headers show
Series drm/mcde: Drop double-assignment of mcde | expand

Commit Message

Linus Walleij Nov. 4, 2019, 3:42 p.m. UTC
It's enough to assign the member once.

Cc: Markus Elfring <Markus.Elfring@web.de>
Reported-by: Markus Elfring <Markus.Elfring@web.de>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
---
 drivers/gpu/drm/mcde/mcde_drv.c | 1 -
 1 file changed, 1 deletion(-)
diff mbox series

Patch

diff --git a/drivers/gpu/drm/mcde/mcde_drv.c b/drivers/gpu/drm/mcde/mcde_drv.c
index 9a09eba53182..31ab3c136e2d 100644
--- a/drivers/gpu/drm/mcde/mcde_drv.c
+++ b/drivers/gpu/drm/mcde/mcde_drv.c
@@ -343,7 +343,6 @@  static int mcde_probe(struct platform_device *pdev)
 	mcde->te_sync = true;
 	/* Enable continuous updates: this is what Linux' framebuffer expects */
 	mcde->oneshot_mode = false;
-	drm->dev_private = mcde;
 
 	/* First obtain and turn on the main power */
 	mcde->epod = devm_regulator_get(dev, "epod");