]> err.no Git - linux-2.6/commitdiff
[PKTGEN]: uninline getCurUs
authorIlpo Järvinen <ilpo.jarvinen@helsinki.fi>
Sat, 12 Jan 2008 11:25:00 +0000 (03:25 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 23:01:51 +0000 (15:01 -0800)
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>
net/core/pktgen.c

index ebfb1268ac3cd4e1e68c50b4f57932f62c6b47ae..d18fdb102360625c494b02bbb6013b13c5edf8b8 100644 (file)
@@ -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);