[ovs-dev,5/8] datapath: Remove unneeded semicolons

Message ID 1518650290-31536-6-git-send-email-gvrose8192@gmail.com
State Accepted
Headers show
Series
  • Linux upstream kernel backports and updates
Related show

Commit Message

Gregory Rose Feb. 14, 2018, 11:18 p.m.
From: Christopher Díaz Riveros <chrisadr@gentoo.org>

Upstream commit:
    commit 89290b831ec1a0b233fdc7aaad84acdf4ebbf6aa
    Author: Christopher Díaz Riveros <chrisadr@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 <chrisadr@gentoo.org>
    Signed-off-by: David S. Miller <davem@davemloft.net>

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

Patch

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)