From: Adrian Bunk <bunk@stusta.de>
To: ralf@linux-mips.org
Cc: linux-hams@vger.kernel.org, davem@davemloft.net,
netdev@oss.sgi.com, linux-kernel@vger.kernel.org
Subject: [2.6 patch] ax25_route.c: remove an unused function
Date: Fri, 29 Oct 2004 02:20:45 +0200 [thread overview]
Message-ID: <20041029002045.GO29142@stusta.de> (raw)
In-Reply-To: <20041028230032.GU3207@stusta.de>
[ this time without the problems due to a digital signature... ]
The patch below removes an unused function from net/ax25/ax25_route.c
diffstat output:
net/ax25/ax25_route.c | 16 ----------------
1 files changed, 16 deletions(-)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
--- linux-2.6.10-rc1-mm1-full/net/ax25/ax25_route.c.old 2004-10-28 23:50:25.000000000 +0200
+++ linux-2.6.10-rc1-mm1-full/net/ax25/ax25_route.c 2004-10-28 23:50:41.000000000 +0200
@@ -41,22 +41,6 @@
static ax25_route *ax25_get_route(ax25_address *, struct net_device *);
-/*
- * small macro to drop non-digipeated digipeaters and reverse path
- */
-static inline void ax25_route_invert(ax25_digi *in, ax25_digi *out)
-{
- int k;
-
- for (k = 0; k < in->ndigi; k++)
- if (!in->repeated[k])
- break;
-
- in->ndigi = k;
-
- ax25_digi_invert(in, out);
-}
-
void ax25_rt_device_down(struct net_device *dev)
{
ax25_route *s, *t, *ax25_rt;
next prev parent reply other threads:[~2004-10-29 0:20 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-10-28 23:00 [2.6 patch] : remove an unused function Adrian Bunk
2004-10-29 0:20 ` Adrian Bunk [this message]
2004-11-02 0:29 ` [2.6 patch] ax25_route.c: " David S. Miller
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=20041029002045.GO29142@stusta.de \
--to=bunk@stusta.de \
--cc=davem@davemloft.net \
--cc=linux-hams@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@oss.sgi.com \
--cc=ralf@linux-mips.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).