aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/speakup/synth.c
diff options
context:
space:
mode:
authorKatie Dunne <kdunne@mail.ccsf.edu>2016-09-21 15:13:20 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-09-22 11:54:47 +0200
commit3adc4aae0e597a7cdcb9ed3f99d0933bf9a4aaa6 (patch)
treec7687533b65dfc022e0e118bd01de1a39772f881 /drivers/staging/speakup/synth.c
parentstaging: greybus: add maintainer for uart and log protocol drivers (diff)
downloadlinux-dev-3adc4aae0e597a7cdcb9ed3f99d0933bf9a4aaa6.tar.xz
linux-dev-3adc4aae0e597a7cdcb9ed3f99d0933bf9a4aaa6.zip
staging: speakup: Remove unnecessary parentheses
Issue found by checkpatch. Signed-off-by: Katie Dunne <kdunne@mail.ccsf.edu> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/speakup/synth.c')
-rw-r--r--drivers/staging/speakup/synth.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/speakup/synth.c b/drivers/staging/speakup/synth.c
index 810a21408715..54b2f3918628 100644
--- a/drivers/staging/speakup/synth.c
+++ b/drivers/staging/speakup/synth.c
@@ -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();