From: Thomas Gleixner Date: Wed, 16 Jul 2014 21:04:44 +0000 (+0000) Subject: net: mlx5: Use ktime_get_ns() X-Git-Tag: omap-for-v3.17/fixes-against-rc2~152^2~31 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=14a7004671246d1b799f545335995a9897de1268;p=pandora-kernel.git 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 Cc: Eli Cohen Signed-off-by: John Stultz --- Reading git-diff-tree failed