]> git.hungrycats.org Git - linux/commit
e1000e: use ktime_get_real_ns() in e1000e_systim_reset()
authorAleksandr Loktionov <aleksandr.loktionov@intel.com>
Tue, 9 Jun 2026 21:35:49 +0000 (14:35 -0700)
committerJakub Kicinski <kuba@kernel.org>
Sat, 13 Jun 2026 23:44:05 +0000 (16:44 -0700)
commit1b4558e0b4e83b9d1aba1c85a69d4fba5948c5f3
treebc69df87a45621d3fe76f7e9beef81bb1fe5d179
parent2040b8ba371bf970ef29b99b1e971f9b0e6bdc1a
e1000e: use ktime_get_real_ns() in e1000e_systim_reset()

Replace ktime_to_ns(ktime_get_real()) with the direct equivalent
ktime_get_real_ns() in e1000e_systim_reset().  Using the combined helper
avoids the unnecessary intermediate ktime_t variable and makes the
intent clearer.

Suggested-by: Jacob Keller <jacob.e.keller@intel.com>
Suggested-by: Simon Horman <horms@kernel.org>
Signed-off-by: Aleksandr Loktionov <aleksandr.loktionov@intel.com>
Tested-by: Avigail Dahan <avigailx.dahan@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Link: https://patch.msgid.link/20260609213559.178657-9-anthony.l.nguyen@intel.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/intel/e1000e/netdev.c