net/core/pktgen.c: make a function static
Subsystems (2)
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.
Signed-off-by Adrian Bunk <[email protected]>
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 ;