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>
diff --git a/drivers/staging/line6/variax.c b/drivers/staging/line6/variax.c
index 3a46104..894eee7 100644
--- a/drivers/staging/line6/variax.c
+++ b/drivers/staging/line6/variax.c
@@ -664,15 +664,13 @@
/* 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 err = variax_try_init(interface, variax);
- if (err < 0) {
+ if (err < 0)
variax_destruct(interface);
- }
return err;
}