summaryrefslogtreecommitdiffstats
path: root/net/core
diff options
context:
space:
mode:
authorIlpo Järvinen <ilpo.jarvinen@helsinki.fi>2008-01-12 12:25:00 +0100
committerDavid S. Miller <davem@davemloft.net>2008-01-29 00:01:51 +0100
commit6db105db95197c0fe93f8b3fb338eb6cf17440b7 (patch)
treeb5f42361e283d80a4a0e106356dd90d11323769f /net/core
parent[PKTGEN]: Kill dead static inlines (diff)
downloadlinux-6db105db95197c0fe93f8b3fb338eb6cf17440b7.tar.xz
linux-6db105db95197c0fe93f8b3fb338eb6cf17440b7.zip
[PKTGEN]: uninline getCurUs
net/core/pktgen.c: pktgen_stop_device | -50 pktgen_run | -105 pktgen_if_show | -37 pktgen_thread_worker | -702 4 functions changed, 894 bytes removed, diff: -894 net/core/pktgen.c: getCurUs | +36 1 function changed, 36 bytes added, diff: +36 net/core/pktgen.o: 5 functions changed, 36 bytes added, 894 bytes removed, diff: -858 Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@helsinki.fi> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core')
-rw-r--r--net/core/pktgen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/core/pktgen.c b/net/core/pktgen.c
index ebfb1268ac3c..d18fdb102360 100644
--- a/net/core/pktgen.c
+++ b/net/core/pktgen.c
@@ -405,7 +405,7 @@ static inline __u64 tv_to_us(const struct timeval *tv)
return us;
}
-static inline __u64 getCurUs(void)
+static __u64 getCurUs(void)
{
struct timeval tv;
do_gettimeofday(&tv);