diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2010-09-21 16:58:00 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-09-21 16:58:00 -0700 |
commit | 027360c5644b59d99db30e3515a8ec72350207b9 (patch) | |
tree | 2d5f307fec534fc6e76135121e4c1f8f517d6922 /drivers/staging/line6/variax.c | |
parent | 79be7254ebd2fb6d5f91b4b8e5d12cfe4fd7ecd7 (diff) |
Staging: line6: minor coding style cleanups
This fixes up all of the remaining coding style issues that
make any sense to make in the line6 driver.
Cc: Markus Grabner <grabner@icg.tugraz.at>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/line6/variax.c')
-rw-r--r-- | drivers/staging/line6/variax.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/drivers/staging/line6/variax.c b/drivers/staging/line6/variax.c index 3a46104a14a..894eee7f231 100644 --- a/drivers/staging/line6/variax.c +++ b/drivers/staging/line6/variax.c @@ -664,15 +664,13 @@ static int variax_try_init(struct usb_interface *interface, /* initialize audio system: */ err = line6_init_audio(&variax->line6); - if (err < 0) { + if (err < 0) return err; - } /* initialize MIDI subsystem: */ err = line6_init_midi(&variax->line6); - if (err < 0) { + if (err < 0) return err; - } /* initiate startup procedure: */ variax_startup1(variax); @@ -687,9 +685,8 @@ int line6_variax_init(struct usb_interface *interface, { int err = variax_try_init(interface, variax); - if (err < 0) { + if (err < 0) variax_destruct(interface); - } return err; } |