]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
Staging: w35und: simplify hal_init_hardware() error handling
authorPekka Enberg <penberg@cs.helsinki.fi>
Wed, 8 Apr 2009 08:13:59 +0000 (11:13 +0300)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 19 Jun 2009 18:00:37 +0000 (11:00 -0700)
commit00e2e05dd08bc15b09514f5ce35f0b9a3534e9ba
tree229a08092258d9f4fafcc2f302543965406c854a
parentcfe31f81e1ba7e0c590fc1f2fd688309b685654a
Staging: w35und: simplify hal_init_hardware() error handling

Impact: cleanup

Use gotos to simplify the deep if-statement nesting in
hal_init_hardware().

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