Staging: w35und: use gotos for error handling
authorPekka Enberg <penberg@cs.helsinki.fi>
Tue, 21 Oct 2008 09:14:58 +0000 (12:14 +0300)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 22 Oct 2008 16:56:39 +0000 (09:56 -0700)
commitdc7e04fe28e3354e8b2e13146b2d6a5da1002ff4
treec225a39f02c7a346a030192c9968193736423e51
parenta1eb2ba6be72988b2479f749acfdc3bdce41654b
Staging: w35und: use gotos for error handling

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.

Acked-by: Pavel Machek <pavel@suse.cz>
Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/winbond/linux/wb35rx.c
drivers/staging/winbond/linux/wb35tx.c
drivers/staging/winbond/linux/wbusb.c
drivers/staging/winbond/wblinux.c