[2.6 patch] net/core/pktgen.c: make a function static

From: Adrian Bunk
Date: Tue Mar 15 2005 - 09:52:39 EST


pktgen_xmit is already inline but not static.

This doesn't make much sense - especially since there's no external user
of this function.

Signed-off-by: Adrian Bunk <bunk@xxxxxxxxx>

--- linux-2.6.11-mm3-full/net/core/pktgen.c.old 2005-03-15 13:25:04.000000000 +0100
+++ linux-2.6.11-mm3-full/net/core/pktgen.c 2005-03-15 13:25:20.000000000 +0100
@@ -2587,7 +2587,7 @@
thread_unlock();
}

-__inline__ void pktgen_xmit(struct pktgen_dev *pkt_dev)
+static inline void pktgen_xmit(struct pktgen_dev *pkt_dev)
{
struct net_device *odev = NULL;
__u64 idle_start = 0;

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/