Commit f9086200 authored by kbuild test robot's avatar kbuild test robot Committed by David S. Miller

net: dsa: bcm_sf2: fix semicolon.cocci warnings

drivers/net/dsa/bcm_sf2_cfp.c:1168:2-3: Unneeded semicolon
drivers/net/dsa/bcm_sf2_cfp.c:532:2-3: Unneeded semicolon

 Remove unneeded semicolon.

Generated by: scripts/coccinelle/misc/semicolon.cocci

Fixes: ae7a5aff ("net: dsa: bcm_sf2: Keep copy of inserted rules")
CC: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: default avatarkbuild test robot <fengguang.wu@intel.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 8572a1b4
...@@ -529,7 +529,7 @@ static struct cfp_rule *bcm_sf2_cfp_rule_find(struct bcm_sf2_priv *priv, ...@@ -529,7 +529,7 @@ static struct cfp_rule *bcm_sf2_cfp_rule_find(struct bcm_sf2_priv *priv,
list_for_each_entry(rule, &priv->cfp.rules_list, next) { list_for_each_entry(rule, &priv->cfp.rules_list, next) {
if (rule->port == port && rule->fs.location == location) if (rule->port == port && rule->fs.location == location)
break; break;
}; }
return rule; return rule;
} }
...@@ -1165,7 +1165,7 @@ int bcm_sf2_cfp_resume(struct dsa_switch *ds) ...@@ -1165,7 +1165,7 @@ int bcm_sf2_cfp_resume(struct dsa_switch *ds)
dev_err(ds->dev, "failed to restore rule\n"); dev_err(ds->dev, "failed to restore rule\n");
return ret; return ret;
} }
}; }
return ret; return ret;
} }
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