openvswitch: actions: fixed a brace coding style warning
authorPeter Downs <padowns@gmail.com>
Wed, 1 Mar 2017 09:01:17 +0000 (01:01 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 2 Mar 2017 21:14:44 +0000 (13:14 -0800)
Fixed a brace coding style warning reported by checkpatch.pl

Signed-off-by: Peter Downs <padowns@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/openvswitch/actions.c

index b1beb2b94ec76c6a8e415019439d09e47d11a7df..c82301ce3fffb6caeb41a9882a53289ec7b63c8d 100644 (file)
@@ -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));