[RFC PATCH 2/3] staging: imx-drm-core: Use graph to find connection between crtc and encoder

Philipp Zabel p.zabel at pengutronix.de
Tue Feb 11 01:00:53 PST 2014


Hi Dan,

Am Dienstag, den 11.02.2014, 11:38 +0300 schrieb Dan Carpenter:
> > Why is this loop soo complicated?  Why do you need to mess around with
> > this "last_ep" stuff - you don't actually end up using it.
> > 
> > The loop reduces down to this without comments:
> > 
> >  	for (i = 0; !ret; i++) {
>                     ^^^^
> Philipp, "ret" isn't set anymore in the new loop.

thanks, I'll drop ret in the next version.

regards
Philipp



More information about the dri-devel mailing list