aboutsummaryrefslogtreecommitdiff
path: root/fs/lockd
diff options
context:
space:
mode:
authorGravatar Thomas Gleixner <tglx@linutronix.de> 2014-07-16 21:04:44 +0000
committerGravatar John Stultz <john.stultz@linaro.org> 2014-07-23 15:01:43 -0700
commit14a7004671246d1b799f545335995a9897de1268 (patch)
tree877426f4f8798fdbe198095dcc46ceb36f96f0ee /fs/lockd
parentmisc: ioc4: Use ktime_get_ns() (diff)
downloadlinux-14a7004671246d1b799f545335995a9897de1268.tar.gz
linux-14a7004671246d1b799f545335995a9897de1268.tar.bz2
linux-14a7004671246d1b799f545335995a9897de1268.zip
net: mlx5: Use ktime_get_ns()
This code is beyond silly: struct timespec ts = ktime_get_ts(); ktime_t ktime = timespec_to_ktime(ts); Further down the code builds the delta of two ktime_t values and converts the result to nanoseconds. Use ktime_get_ns() and replace all the nonsense. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: Eli Cohen <eli@mellanox.com> Signed-off-by: John Stultz <john.stultz@linaro.org>
Diffstat (limited to 'fs/lockd')
0 files changed, 0 insertions, 0 deletions