diff options
| author | Tonghao Zhang <[email protected]> | 2020-09-01 12:26:12 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2020-09-01 18:42:15 +0000 |
| commit | cf3266ad482d1bce2c49b6cd856a3f2d46f65023 (patch) | |
| tree | 3518e4b903386588e0107089d8e7d32bbc50f624 /net/openvswitch/actions.c | |
| parent | net: ipv4: remove unused arg exact_dif in compute_score (diff) | |
| download | kernel-cf3266ad482d1bce2c49b6cd856a3f2d46f65023.tar.gz kernel-cf3266ad482d1bce2c49b6cd856a3f2d46f65023.zip | |
net: openvswitch: improve the coding style
Not change the logic, just improve the coding style.
Cc: Pravin B Shelar <[email protected]>
Signed-off-by: Tonghao Zhang <[email protected]>
Acked-by: Pravin B Shelar <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/openvswitch/actions.c')
| -rw-r--r-- | net/openvswitch/actions.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/net/openvswitch/actions.c b/net/openvswitch/actions.c index fd340893a27c..855f2c155956 100644 --- a/net/openvswitch/actions.c +++ b/net/openvswitch/actions.c @@ -741,7 +741,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; @@ -920,7 +921,7 @@ static int output_userspace(struct datapath *dp, struct sk_buff *skb, upcall.mru = OVS_CB(skb)->mru; for (a = nla_data(attr), rem = nla_len(attr); rem > 0; - a = nla_next(a, &rem)) { + a = nla_next(a, &rem)) { switch (nla_type(a)) { case OVS_USERSPACE_ATTR_USERDATA: upcall.userdata = a; |
