staging: speakup: Remove unnecessary parentheses
PATCH 1/1 staging: speakup: Remove unnecessary parentheses
Issue found by checkpatch.
Signed-off-by Katie Dunne <[email protected]>
--- drivers/staging/speakup/synth.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/staging/speakup/synth.c +2 -2
@@ -407,7 +407,7 @@ static int do_synth_init(struct spk_synth *in_synth)if (!spk_quiet_boot)synth_printf ("%s found\n" , synth->long_name);if (synth->attributes.name - &&sysfs_create_group (speakup_kobj, &(synth->attributes)) <0 ) + &&sysfs_create_group (speakup_kobj, & synth->attributes) <0 )return -ENOMEM ; synth_flags = synth->flags;wake_up_interruptible_all (&speakup_event);
@@ -429,7 +429,7 @@ void synth_release(void)del_timer (&thread_timer);spin_unlock_irqrestore (&speakup_info.spinlock, flags);if (synth->attributes.name) -sysfs_remove_group (speakup_kobj, &(synth->attributes)); +sysfs_remove_group (speakup_kobj, & synth->attributes);for (var = synth->vars; var->var_id !=MAXVARS ; var++)speakup_unregister_var (var->var_id);spk_stop_serial_interrupt ();
Signature · 1 line
2.7.4
Greg KH
maintainerQuoted 12 lines · Katie Dunne
Issue found by checkpatch.
Signed-off-by Katie Dunne <[email protected]>--- drivers/staging/speakup/synth.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)drivers/staging/speakup/synth.c +0
-0
drivers/staging/speakup/synth.c static int do_synth_init(struct spk_synth *in_synth) · line 410
Quoted 5 lines
drivers/staging/speakup/synth.c +1
-1@@ -407,7 +407,7 @@ static int do_synth_init(struct spk_synth *in_synth)if (!spk_quiet_boot)synth_printf ("%s found\n" , synth->long_name);if (synth->attributes.name - &&sysfs_create_group (speakup_kobj, &(synth->attributes)) <0 ) + &&sysfs_create_group (speakup_kobj, & synth->attributes) <0 )
You should not have that extra space there. Please remove it and try again.
thanks,
greg k-h