summaryrefslogtreecommitdiffstats
path: root/net/openvswitch
diff options
context:
space:
mode:
authorChristopher Díaz Riveros2018-01-17 22:10:28 +0100
committerDavid S. Miller2018-01-18 22:25:01 +0100
commit89290b831ec1a0b233fdc7aaad84acdf4ebbf6aa (patch)
tree6186784b1a079a23dc4ef7b6502f1ade9a2841b8 /net/openvswitch
parentnet/mlx5e: Fix trailing semicolon (diff)
downloadkernel-qcow2-linux-89290b831ec1a0b233fdc7aaad84acdf4ebbf6aa.tar.gz
kernel-qcow2-linux-89290b831ec1a0b233fdc7aaad84acdf4ebbf6aa.tar.xz
kernel-qcow2-linux-89290b831ec1a0b233fdc7aaad84acdf4ebbf6aa.zip
flow_netlink: Remove unneeded semicolons
Trivial fix removes unneeded semicolons after if blocks. This issue was detected by using the Coccinelle software. Signed-off-by: Christopher Díaz Riveros <chrisadr@gentoo.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/openvswitch')
-rw-r--r--net/openvswitch/flow_netlink.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/openvswitch/flow_netlink.c b/net/openvswitch/flow_netlink.c
index f143908b651d..eb55f1b3d047 100644
--- a/net/openvswitch/flow_netlink.c
+++ b/net/openvswitch/flow_netlink.c
@@ -2454,7 +2454,7 @@ static int validate_geneve_opts(struct sw_flow_key *key)
option = (struct geneve_opt *)((u8 *)option + len);
opts_len -= len;
- };
+ }
key->tun_key.tun_flags |= crit_opt ? TUNNEL_CRIT_OPT : 0;
@@ -2487,7 +2487,7 @@ static int validate_and_copy_set_tun(const struct nlattr *attr,
case OVS_TUNNEL_KEY_ATTR_VXLAN_OPTS:
break;
}
- };
+ }
start = add_nested_action_start(sfa, OVS_ACTION_ATTR_SET, log);
if (start < 0)