drm/mcde: Reconsider duplicate statement in mcde_probe()

From: Markus Elfring
Date: Mon Oct 28 2019 - 13:00:23 EST


Hello,

I have taken another look also at the implementation of the function âmcde_probeâ.
Now I wonder why the statement âdrm->dev_private = mcde;â was specified twice there.
https://elixir.bootlin.com/linux/v5.4-rc2/source/drivers/gpu/drm/mcde/mcde_drv.c#L339
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/gpu/drm/mcde/mcde_drv.c?id=0365fb6baeb1ebefbbdad9e3f48bab9b3ccb8df3#n339

How do you think about to delete one of them so that a duplicate assignment
can be avoided?

Regards,
Markus