| To: | Robert Olsson <robert.olsson@xxxxxxxxx> |
|---|---|
| Subject: | [2.6 patch] net/core/pktgen.c: make a function static |
| From: | Adrian Bunk <bunk@xxxxxxxxx> |
| Date: | Tue, 15 Mar 2005 15:49:07 +0100 |
| Cc: | "David S. Miller" <davem@xxxxxxxxxxxxx>, netdev@xxxxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx |
| Sender: | netdev-bounce@xxxxxxxxxxx |
| User-agent: | Mutt/1.5.6+20040907i |
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;
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [2.6 patch] net/ipv6/ndisc.c: make a function static, Adrian Bunk |
|---|---|
| Next by Date: | RE: [ANNOUNCE] Experimental Driver for Neterion/S2io 10GbE Adapters, Leonid Grossman |
| Previous by Thread: | [2.6 patch] net/ipv6/ndisc.c: make a function static, Adrian Bunk |
| Next by Thread: | [PATCH] no more rwlock_t inside tcp_ehash_bucket, Eric Dumazet |
| Indexes: | [Date] [Thread] [Top] [All Lists] |