Re: [PATCH 2/2] - remove ugly code from usb/serial/usb-serial.c.

From: Greg KH
Date: Tue Sep 14 2004 - 15:11:12 EST


On Mon, Sep 13, 2004 at 06:43:50PM -0300, Luiz Fernando N. Capitulino wrote:
>
> Greg,
>
> This patch removes ugly code from some function in usb/serial/usb-serial.c
> which is using a goto statement intead of a simple `return'.
>
> To be true, I'm not certain if there is a special reason to do that, if so
> ignore me. ;)

No, that's a hold over from a fix a long time ago that got rid of some
locks that used to be freed in the exit code.

Thanks for the patch, I've applied it to my trees.

greg k-h
-
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/