Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1590141

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

From Peter Downs <padowns@gmail.com>
Newsgroups linux.kernel
Subject [PATCH] Net: openvswitch: actions: fixed a brace coding style warning
Date 2017-03-01 10:40 +0100
Message-ID <tg8TM-179-33@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


Fixed a brace coding style warning reported by checkpatch.pl

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

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH] Net: openvswitch: actions: fixed a brace coding style warning Peter Downs <padowns@gmail.com> - 2017-03-01 10:40 +0100
  Re: [PATCH] Net: openvswitch: actions: fixed a brace coding style  warning David Miller <davem@davemloft.net> - 2017-03-02 22:30 +0100

csiph-web