Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

staging: fsl-mc: Remove unneeded parentheses

Remove unneeded parentheses on the right hand side of assignment
statements.
Semantic patch:

@@
expression a, b, c;
@@

(
a = (b == c)
|
a =
- (
b
- )
)

Signed-off-by: Janani Ravichandran <janani.rvchndrn@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Janani Ravichandran and committed by
Greg Kroah-Hartman
2cdb82c7 3a35be2a

+1 -1
+1 -1
drivers/staging/fsl-mc/bus/dprc-driver.c
··· 129 129 { 130 130 int error; 131 131 u32 plugged_flag_at_mc = 132 - (obj_desc->state & DPRC_OBJ_STATE_PLUGGED); 132 + obj_desc->state & DPRC_OBJ_STATE_PLUGGED; 133 133 134 134 if (plugged_flag_at_mc != 135 135 (mc_dev->obj_desc.state & DPRC_OBJ_STATE_PLUGGED)) {