DORMANTno replies

[PATCH 2] 2.4.x USAGI unused variables in mipv6_ha_ipsec.c

From: Daniel 'NebuchadnezzaR' Dehennin <hidden>
Date: 2003-08-01 18:09:25

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.
--- linux-2.4.21/net/ipv6/mobile_ip6/mipv6_ha_ipsec.c.orig	2003-08-01 20:06:15.000000000 +0200
+++ linux-2.4.21/net/ipv6/mobile_ip6/mipv6_ha_ipsec.c	2003-08-01 20:06:42.000000000 +0200
@@ -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
-- 
Daniel 'NebuchadnezzaR' Dehennin
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help