* [2.6 patch] net/core/pktgen.c: make a function static
@ 2005-03-15 14:49 Adrian Bunk
0 siblings, 0 replies; only message in thread
From: Adrian Bunk @ 2005-03-15 14:49 UTC (permalink / raw)
To: Robert Olsson; +Cc: David S. Miller, netdev, linux-kernel
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@stusta.de>
--- 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;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-03-15 14:49 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-15 14:49 [2.6 patch] net/core/pktgen.c: make a function static Adrian Bunk
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).