linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [2.6 patch] : remove an unused function
@ 2004-10-28 23:00 Adrian Bunk
  2004-10-29  0:20 ` [2.6 patch] ax25_route.c: " Adrian Bunk
  0 siblings, 1 reply; 3+ messages in thread
From: Adrian Bunk @ 2004-10-28 23:00 UTC (permalink / raw)
  To: ralf; +Cc: linux-hams, davem, netdev, linux-kernel

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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;

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)

iD8DBQFBgXoQmfzqmE8StAARAqLLAKCZRsBxw7oCIFnvPVFFZ6ss4QRuOgCfcu4e
++CuY/BJjph1Fr/xntu1j/o=
=5M44
-----END PGP SIGNATURE-----

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [2.6 patch] ax25_route.c: remove an unused function
  2004-10-28 23:00 [2.6 patch] : remove an unused function Adrian Bunk
@ 2004-10-29  0:20 ` Adrian Bunk
  2004-11-02  0:29   ` David S. Miller
  0 siblings, 1 reply; 3+ messages in thread
From: Adrian Bunk @ 2004-10-29  0:20 UTC (permalink / raw)
  To: ralf; +Cc: linux-hams, davem, netdev, linux-kernel

[ 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;

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [2.6 patch] ax25_route.c: remove an unused function
  2004-10-29  0:20 ` [2.6 patch] ax25_route.c: " Adrian Bunk
@ 2004-11-02  0:29   ` David S. Miller
  0 siblings, 0 replies; 3+ messages in thread
From: David S. Miller @ 2004-11-02  0:29 UTC (permalink / raw)
  To: Adrian Bunk; +Cc: ralf, linux-hams, netdev, linux-kernel

On Fri, 29 Oct 2004 02:20:45 +0200
Adrian Bunk <bunk@stusta.de> wrote:

> The patch below removes an unused function from net/ax25/ax25_route.c

Applied, thanks Adrian.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-11-02  1:01 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-10-28 23:00 [2.6 patch] : remove an unused function Adrian Bunk
2004-10-29  0:20 ` [2.6 patch] ax25_route.c: " Adrian Bunk
2004-11-02  0:29   ` David S. Miller

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).