diff options
author | Andreas Schultz <aschultz@tpip.net> | 2015-11-16 16:06:42 +0100 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@soleta.eu> | 2015-11-16 18:33:20 +0100 |
commit | 7018f196831caae4d2446d55294e216a6ae317a7 (patch) | |
tree | c9aa06d600246695a20350ad496dde827e59daec | |
parent | 6deeee8cf3cc8576544e6b6a91dc7f37f7c59e29 (diff) |
gtp: remove unused local variable
Signed-off-by: Andreas Schultz <aschultz@tpip.net>
Signed-off-by: Pablo Neira Ayuso <pablo@soleta.eu>
-rw-r--r-- | gtp.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -957,7 +957,7 @@ static int ipv4_pdp_add(struct net_device *dev, struct genl_info *info) struct gtp_instance *gti = netdev_priv(dev); struct pdp_ctx *pctx; u16 flow = 0; - u32 gtp_version, link, sgsn_addr, ms_addr, hash_ms, hash_tid; + u32 gtp_version, sgsn_addr, ms_addr, hash_ms, hash_tid; u64 tid; bool found = false; @@ -986,7 +986,6 @@ static int ipv4_pdp_add(struct net_device *dev, struct genl_info *info) flow = nla_get_u16(info->attrs[GTPA_FLOW]); } - link = nla_get_u32(info->attrs[GTPA_LINK]); sgsn_addr = nla_get_u32(info->attrs[GTPA_SGSN_ADDRESS]); ms_addr = nla_get_u32(info->attrs[GTPA_MS_ADDRESS]); |