Skip to contentSkip to conversation

2.4.x USAGI unused variables in mipv6_ha_ipsec.c

PATCH New Daniel 'NebuchadnezzaR' Dehennin 1 participant 1 message Aug 1, 2003

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 2.4.x USAGI unused variables in mipv6_ha_ipsec.c

Hello again ;-),

A patch to remove unused variables :
mipv6_ha_ipsec.c: In function `__mipv6_mn_change_tunnel_ipsec_by_proto':
mipv6_ha_ipsec.c:216: warning: unused variable ret' mipv6_ha_ipsec.c: In function __mipv6_ha_change_tunnel_ipsec_by_proto':
mipv6_ha_ipsec.c:338: warning: unused variable `ret'

See you.

net/ipv6/mobile_ip6/mipv6_ha_ipsec.c renamed from net/ipv6/mobile_ip6/mipv6_ha_ipsec.c.orig +0 -2
@@ -213,7 +213,6 @@ int __mipv6_mn_change_tunnel_ipsec_by_pr
 	struct in6_addr dst;
 	struct in6_addr src;
 	struct in6_addr *coa = &entry->coa;
-	int ret = 0;
 
 	/*
 	 * Phase 1: Change the following SA/SPD
@@ -335,7 +334,6 @@ int __mipv6_ha_change_tunnel_ipsec_by_pr
 	struct in6_addr dst;
 	struct in6_addr src;
 	struct in6_addr *coa = &entry->coa;
-	int ret = 0;
 
 	/*
 	 * Phase 1: Change the following SA/SPD
Signature · 1 line
Daniel 'NebuchadnezzaR' Dehennin