]> git.openpandora.org Git - pandora-kernel.git/commitdiff
tun_dst: Remove opts_size
authorPravin B Shelar <pshelar@nicira.com>
Tue, 1 Sep 2015 03:05:57 +0000 (20:05 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 1 Sep 2015 04:23:42 +0000 (21:23 -0700)
opts_size is only written and never read. Following patch
removes this unused variable.

Signed-off-by: Pravin B Shelar <pshelar@nicira.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/dst_metadata.h
net/core/dst.c

index 547ab824159357dd13c80a2210ee726b977e32cb..af9d5382f6cbae8c38d45106f5702bd1e66c5671 100644 (file)
@@ -7,7 +7,6 @@
 
 struct metadata_dst {
        struct dst_entry                dst;
-       size_t                          opts_len;
        union {
                struct ip_tunnel_info   tun_info;
        } u;
diff --cc net/core/dst.c
Simple merge