aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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)
405 return us; 405 return us;
406} 406}
407 407
408static inline __u64 getCurUs(void) 408static __u64 getCurUs(void)
409{ 409{
410 struct timeval tv; 410 struct timeval tv;
411 do_gettimeofday(&tv); 411 do_gettimeofday(&tv);