diff options
author | kbuild test robot <fengguang.wu@intel.com> | 2018-11-07 08:50:34 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-11-07 22:14:05 -0800 |
commit | f908620019324872ce0776b37b27a31dfd8c05a0 (patch) | |
tree | 65d74d24915dfa09d197647ef3e94c757543a77a /drivers/net/dsa | |
parent | 8572a1b4dbc0e03d7082d8e8f7a282c0f55c3ca5 (diff) | |
download | linux-f908620019324872ce0776b37b27a31dfd8c05a0.tar.bz2 |
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: ae7a5aff783c ("net: dsa: bcm_sf2: Keep copy of inserted rules")
CC: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/dsa')
-rw-r--r-- | drivers/net/dsa/bcm_sf2_cfp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/dsa/bcm_sf2_cfp.c b/drivers/net/dsa/bcm_sf2_cfp.c index 8f734abde7b3..e14663ab6dbc 100644 --- a/drivers/net/dsa/bcm_sf2_cfp.c +++ b/drivers/net/dsa/bcm_sf2_cfp.c @@ -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) { if (rule->port == port && rule->fs.location == location) break; - }; + } return rule; } @@ -1165,7 +1165,7 @@ int bcm_sf2_cfp_resume(struct dsa_switch *ds) dev_err(ds->dev, "failed to restore rule\n"); return ret; } - }; + } return ret; } |