Re: [PATCH] w35und: use gotos for error handling

From: Pavel Machek
Date: Tue Oct 21 2008 - 05:28:13 EST


> From: Pekka Enberg <penberg@xxxxxxxxxxxxxx>
>
> The driver code uses do { } while (0) together with the break statement to
> emulate gotos for error handling. Fix that up by using the goto statement
> instead.
>
> Cc: Pavel Machek <pavel@xxxxxxx>
> Signed-off-by: Pekka Enberg <penberg@xxxxxxxxxxxxxx>

ACK.

Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/