Subject: Re: [PATCH iwl-next] ixgbe: use ktime_get_real_ns() in ixgbe_ptp_reset()

From: Simon Horman <[email-masked]>
Date: Fri, 3 Apr 2026 14:10:35 +0100

On Fri, Mar 27, 2026 at 08:30:39AM +0100, Aleksandr Loktionov wrote:
> From: Jacob Keller <[email-masked]>
> 
> Replace ktime_to_ns(ktime_get_real()) with the direct equivalent
> ktime_get_real_ns() in ixgbe_ptp_reset().  Using the combined helper
> avoids the unnecessary intermediate ktime_t variable and makes the
> intent clearer.
> 
> Signed-off-by: Jacob Keller <[email-masked]>
> Signed-off-by: Aleksandr Loktionov <[email-masked]>
> Reviewed-by: Marcin Szycik <[email-masked]>

Reviewed-by: Simon Horman <[email-masked]>

FWIIW, this pattern also seems to exist in e1000e, ixgbe and igb (twice).