Commit f1544c63 authored by Adrian Bunk's avatar Adrian Bunk Committed by David S. Miller

[AX25]: Remove an unused function in ax25_route.c

Signed-off-by: default avatarAdrian Bunk <bunk@stusta.de>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 34d87572
...@@ -41,22 +41,6 @@ static rwlock_t ax25_route_lock = RW_LOCK_UNLOCKED; ...@@ -41,22 +41,6 @@ static rwlock_t ax25_route_lock = RW_LOCK_UNLOCKED;
static ax25_route *ax25_get_route(ax25_address *, struct net_device *); 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) void ax25_rt_device_down(struct net_device *dev)
{ {
ax25_route *s, *t, *ax25_rt; ax25_route *s, *t, *ax25_rt;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment