lkml.org 
[lkml]   [2004]   [Oct]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[2.6 patch] ax25_route.c: remove an unused function
[ 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;
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2005-03-22 14:07    [W:0.033 / U:0.444 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site