From: Christopher Díaz Riveros <chris...@gentoo.org>

Upstream commit:
    commit 89290b831ec1a0b233fdc7aaad84acdf4ebbf6aa
    Author: Christopher Díaz Riveros <chris...@gentoo.org>
    Date:   Wed Jan 17 16:10:28 2018 -0500

    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 <chris...@gentoo.org>
    Signed-off-by: David S. Miller <da...@davemloft.net>

Cc: Christopher Díaz Riveros <chris...@gentoo.org>
Signed-off-by: Greg Rose <gvrose8...@gmail.com>
---
 datapath/flow_netlink.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/datapath/flow_netlink.c b/datapath/flow_netlink.c
index 8eabc16..e2ccf91 100644
--- a/datapath/flow_netlink.c
+++ b/datapath/flow_netlink.c
@@ -2458,7 +2458,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;
 
@@ -2491,7 +2491,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)
-- 
1.8.3.1

_______________________________________________
dev mailing list
d...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to