Skip to content
Snippets Groups Projects
Commit 8b0e1953 authored by Thomas Gleixner's avatar Thomas Gleixner
Browse files

ktime: Cleanup ktime_set() usage


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>
parent 2456e855
No related branches found
No related tags found
No related merge requests found
Showing
with 28 additions and 33 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment