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


Groups > linux.kernel > #1307859

[PATCH] Openvswitch: actions.c: Removed line over 80 characters and not necessary braces.

From Janusz Wolak <januszvdm@awokados.com.pl>
Newsgroups linux.kernel
Subject [PATCH] Openvswitch: actions.c: Removed line over 80 characters and not necessary braces.
Date 2016-01-12 23:00 +0100
Message-ID <qQf8S-6R1-3@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


Fixed a coding style issue.

Signed-off-by: Janusz Wolak <januszvdm@awokados.com.pl>
---
 net/openvswitch/actions.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/net/openvswitch/actions.c b/net/openvswitch/actions.c
index c88d0f2..28bc395 100644
--- a/net/openvswitch/actions.c
+++ b/net/openvswitch/actions.c
@@ -620,7 +620,8 @@ static int set_sctp(struct sk_buff *skb, struct sw_flow_key *flow_key,
 	return 0;
 }
 
-static int ovs_vport_output(struct net *net, struct sock *sk, struct sk_buff *skb)
+static int ovs_vport_output(struct net *net, struct sock *sk,
+			    struct sk_buff *skb)
 {
 	struct ovs_frag_data *data = this_cpu_ptr(&ovs_frag_data_storage);
 	struct vport *vport = data->vport;
@@ -707,9 +708,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);
 		memset(&ovs_rt, 0, sizeof(ovs_rt));
-- 
2.5.0

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


Thread

[PATCH] Openvswitch: actions.c: Removed line over 80 characters and not necessary braces. Janusz Wolak <januszvdm@awokados.com.pl> - 2016-01-12 23:00 +0100
  [PATCH] Openvswitch: datapath.c: Fixed coding style warnings. Janusz Wolak <januszvdm@awokados.com.pl> - 2016-01-12 23:00 +0100
    Re: [ovs-dev] [PATCH] Openvswitch: datapath.c: Fixed coding style warnings. pravin shelar <pshelar@ovn.org> - 2016-01-12 23:20 +0100
  [PATCH] Openvswitch: conntrack.c: Removed multiple blank lines. Janusz Wolak <januszvdm@awokados.com.pl> - 2016-01-12 23:00 +0100
  Re: [PATCH] Openvswitch: actions.c: Removed line over 80  characters and not necessary braces. David Miller <davem@davemloft.net> - 2016-01-12 23:20 +0100

csiph-web