netdev
[Top] [All Lists]

[2.6 patch] : remove an unused function

To: ralf@xxxxxxxxxxxxxx
Subject: [2.6 patch] : remove an unused function
From: Adrian Bunk <bunk@xxxxxxxxx>
Date: Fri, 29 Oct 2004 01:00:32 +0200
Cc: linux-hams@xxxxxxxxxxxxxxx, davem@xxxxxxxxxxxxx, netdev@xxxxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx
Sender: netdev-bounce@xxxxxxxxxxx
User-agent: Mutt/1.5.6+20040907i
-----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@xxxxxxxxx>

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

<Prev in Thread] Current Thread [Next in Thread>