flow_netlink: Remove unneeded semicolons
authorChristopher Díaz Riveros <chrisadr@gentoo.org>
Wed, 17 Jan 2018 21:10:28 +0000 (16:10 -0500)
committerDavid S. Miller <davem@davemloft.net>
Thu, 18 Jan 2018 21:25:01 +0000 (16:25 -0500)
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>
net/openvswitch/flow_netlink.c

index f143908b651dffc38cdbe9ef1d5235015ff08b6a..eb55f1b3d0475d7a6590c4786f9d272428243535 100644 (file)
@@ -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)