[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 04:00:53 EST 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 linux-arm-kernel mailing list