[ovs-dev] [PATCH] Net: openvswitch: actions: fixed a brace coding style warning

Peter Downs padowns at gmail.com
Wed Mar 1 09:01:17 UTC 2017


Fixed a brace coding style warning reported by checkpatch.pl

Signed-off-by: Peter Downs <padowns at gmail.com>
---
 net/openvswitch/actions.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/net/openvswitch/actions.c b/net/openvswitch/actions.c
index b1beb2b..c82301c 100644
--- a/net/openvswitch/actions.c
+++ b/net/openvswitch/actions.c
@@ -796,9 +796,8 @@ static void ovs_fragment(struct net *net, struct vport *vport,
 		unsigned long orig_dst;
 		struct rt6_info ovs_rt;
 
-		if (!v6ops) {
+		if (!v6ops)
 			goto err;
-		}
 
 		prepare_frag(vport, skb, orig_network_offset,
 			     ovs_key_mac_proto(key));
-- 
2.1.4



More information about the dev mailing list