DORMANTno replies

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

From: Adrian Bunk <hidden>
Date: 2005-03-15 14:49:18
Also in: lkml

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 <redacted>
--- 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;
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help