Skip to content
Commit d5c7d7f6 authored by Asaf Vertz's avatar Asaf Vertz Committed by Jeff Kirsher
Browse files

e1000: fix time comparison



To be future-proof and for better readability the time comparisons are
modified to use time_after_eq() instead of plain, error-prone math.

Signed-off-by: default avatarAsaf Vertz <asaf.vertz@tandemg.com>
Acked-by: default avatarJacob Keller <jacob.e.keller@intel.com>
Tested-by: default avatarAaron Brown <aaron.f.brown@intel.com>
Signed-off-by: default avatarJeff Kirsher <jeffrey.t.kirsher@intel.com>
parent 0c490874
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment