Commit 2cdb82c7 authored by Janani Ravichandran's avatar Janani Ravichandran Committed by Greg Kroah-Hartman

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: default avatarJanani Ravichandran <janani.rvchndrn@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 3a35be2a
...@@ -129,7 +129,7 @@ static void check_plugged_state_change(struct fsl_mc_device *mc_dev, ...@@ -129,7 +129,7 @@ static void check_plugged_state_change(struct fsl_mc_device *mc_dev,
{ {
int error; int error;
u32 plugged_flag_at_mc = u32 plugged_flag_at_mc =
(obj_desc->state & DPRC_OBJ_STATE_PLUGGED); obj_desc->state & DPRC_OBJ_STATE_PLUGGED;
if (plugged_flag_at_mc != if (plugged_flag_at_mc !=
(mc_dev->obj_desc.state & DPRC_OBJ_STATE_PLUGGED)) { (mc_dev->obj_desc.state & DPRC_OBJ_STATE_PLUGGED)) {
......
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