summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorThomas Graf <tgraf@suug.ch>2016-10-21 16:10:22 +0200
committerDavid S. Miller <davem@davemloft.net>2016-10-23 17:45:01 -0400
commitf76a9db351f8beb3259c4ba38058de0058ab8000 (patch)
tree278ae5ef644903ecedae091b60eb7240411ae477 /include
parent7281a66590cbc284272e18cb4acbfb88ddaa4cd8 (diff)
lwt: Remove unused len field
The field is initialized by ILA and MPLS but never used. Remove it. Signed-off-by: Thomas Graf <tgraf@suug.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r--include/net/lwtunnel.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/net/lwtunnel.h b/include/net/lwtunnel.h
index 67d235f43202..82e76fe1c1f7 100644
--- a/include/net/lwtunnel.h
+++ b/include/net/lwtunnel.h
@@ -24,11 +24,10 @@ enum {
struct lwtunnel_state {
__u16 type;
__u16 flags;
+ __u16 headroom;
atomic_t refcnt;
int (*orig_output)(struct net *net, struct sock *sk, struct sk_buff *skb);
int (*orig_input)(struct sk_buff *);
- int len;
- __u16 headroom;
struct rcu_head rcu;
__u8 data[0];
};