staging: greybus: audio: delete unnecessary parentheses

Eliminate unneeded parentheses around the right hand side of an assignment.
Coccinelle semantic patch used:

@@
expression e1, e2;
identifier v;
@@

(
 v = (e1 == e2)
|
 v = (e1 != e2)
|
 v = (e1 <= e2)
|
 v = (e1 >= e2)
|
 v =
- (
	e1
- )
)

Signed-off-by: Eva Rachel Retuya <eraretuya@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Eva Rachel Retuya 2016-09-21 13:03:24 +08:00 committed by Greg Kroah-Hartman
parent ce35e9be62
commit 4f1cbe2a7b

View file

@ -459,7 +459,7 @@ static int gbcodec_mixer_dapm_ctl_put(struct snd_kcontrol *kcontrol,
max = info->value.integer.max;
mask = (1 << fls(max)) - 1;
val = (ucontrol->value.integer.value[0] & mask);
val = ucontrol->value.integer.value[0] & mask;
connect = !!val;
/* update ucontrol */