All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Daniel 'NebuchadnezzaR' Dehennin" <nebuchadnezzar@nerim.net>
To: Linux Networking List <netdev@oss.sgi.com>
Subject: [PATCH 2] 2.4.x USAGI unused variables in mipv6_ha_ipsec.c
Date: Fri, 01 Aug 2003 20:09:25 +0200	[thread overview]
Message-ID: <87fzklgsh6.fsf@zion.matrix> (raw)

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

         reply	other threads:[~2003-08-01 18:09 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-08-01 17:53 [PATCH] 2.4.x USAGI mipv6_ha_ipsec Daniel 'NebuchadnezzaR' Dehennin
2003-08-01 18:09 ` Daniel 'NebuchadnezzaR' Dehennin [this message]
2003-08-02  2:59   ` Noriaki Takamiya

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87fzklgsh6.fsf@zion.matrix \
    --to=nebuchadnezzar@nerim.net \
    --cc=netdev@oss.sgi.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.