Skip to contentSkip to conversation

net/core/pktgen.c: make a function static

PATCH New Adrian Bunk 1 participant 1 message Mar 15, 2005

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 net/core/pktgen.c: make a function static

pktgen_xmit is already inline but not static.

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

net/core/pktgen.c renamed from net/core/pktgen.c.old +1 -1
@@ -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;