Commit 3b4ad1ec authored by Arushi Singhal's avatar Arushi Singhal Committed by Greg Kroah-Hartman
Browse files

staging: speakup: Removed Unnecessary parentheses.



Unnecessary parentheses are removed to improve readability.
Signed-off-by: default avatarArushi Singhal <arushisinghal19971997@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 205931ea
...@@ -392,7 +392,7 @@ static ssize_t synth_store(struct kobject *kobj, struct kobj_attribute *attr, ...@@ -392,7 +392,7 @@ static ssize_t synth_store(struct kobject *kobj, struct kobj_attribute *attr,
len--; len--;
new_synth_name[len] = '\0'; new_synth_name[len] = '\0';
spk_strlwr(new_synth_name); spk_strlwr(new_synth_name);
if (synth && (!strcmp(new_synth_name, synth->name))) { if (synth && !strcmp(new_synth_name, synth->name)) {
pr_warn("%s already in use\n", new_synth_name); pr_warn("%s already in use\n", new_synth_name);
} else if (synth_init(new_synth_name) != 0) { } else if (synth_init(new_synth_name) != 0) {
pr_warn("failed to init synth %s\n", new_synth_name); pr_warn("failed to init synth %s\n", new_synth_name);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment