Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 63b6c13d authored by Pravin B Shelar's avatar Pravin B Shelar Committed by David S. Miller
Browse files

tun_dst: Remove opts_size



opts_size is only written and never read. Following patch
removes this unused variable.

Signed-off-by: default avatarPravin B Shelar <pshelar@nicira.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 2053aeb6
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -7,7 +7,6 @@

struct metadata_dst {
	struct dst_entry		dst;
	size_t				opts_len;
	union {
		struct ip_tunnel_info	tun_info;
	} u;
+0 −1
Original line number Diff line number Diff line
@@ -378,7 +378,6 @@ static void __metadata_dst_init(struct metadata_dst *md_dst, u8 optslen)
	dst->output = dst_md_discard_sk;

	memset(dst + 1, 0, sizeof(*md_dst) + optslen - sizeof(*dst));
	md_dst->opts_len = optslen;
}

struct metadata_dst *metadata_dst_alloc(u8 optslen, gfp_t flags)