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

Subsystems: networking [general], openvswitch, the rest

STALE3438d

2 messages, 2 authors, 2017-03-02 · open the first message on its own page

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

From: Peter Downs <hidden>
Date: 2017-03-01 09:33:17

Fixed a brace coding style warning reported by checkpatch.pl

Signed-off-by: Peter Downs <redacted>
---
 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

Re: [PATCH] Net: openvswitch: actions: fixed a brace coding style warning

From: David Miller <davem@davemloft.net>
Date: 2017-03-02 21:25:39

From: Peter Downs <redacted>
Date: Wed,  1 Mar 2017 01:01:17 -0800
Fixed a brace coding style warning reported by checkpatch.pl

Signed-off-by: Peter Downs <redacted>
Applied.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help