android_kernel_msm-6.1_noth.../include/linux/mlx5
Thomas Gleixner 14a7004671 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>
2014-07-23 15:01:43 -07:00
..
cmd.h
cq.h IB/mlx5: Collect signature error completion 2014-03-07 11:40:04 -08:00
device.h IB/mlx5: Add block multicast loopback support 2014-04-10 18:43:32 -07:00
doorbell.h
driver.h net: mlx5: Use ktime_get_ns() 2014-07-23 15:01:43 -07:00
qp.h IB/mlx5: Add block multicast loopback support 2014-04-10 18:43:32 -07:00
srq.h