mirror of
https://github.com/torvalds/linux.git
synced 2026-11-24 23:47:06 +00:00
There is no point in calling gettimeofday if only the seconds part of the timespec is used. Use get_seconds() instead. It's not only the proper interface it's also faster. Signed-off-by: Thomas Gleixner <[email protected]> Acked-by: Tetsuo Handa <[email protected]> Cc: John Stultz <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Kentaro Takeda <[email protected]> Cc: [email protected] Link: http://lkml.kernel.org/r/[email protected]