-/*
- * 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);
-}
-