• Thomas Gleixner's avatar
    ktime: Cleanup ktime_set() usage · 8b0e1953
    Thomas Gleixner authored
    ktime_set(S,N) was required for the timespec storage type and is still
    useful for situations where a Seconds and Nanoseconds part of a time value
    needs to be converted. For anything where the Seconds argument is 0, this
    is pointless and can be replaced with a simple assignment.
    Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
    Cc: Peter Zijlstra <peterz@infradead.org>
    8b0e1953
tick-common.c 13.5 KB