e1000: Use time_after() for time comparison
authorManuel Schölling <manuel.schoelling@gmx.de>
Fri, 23 May 2014 18:04:17 +0000 (18:04 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 4 Jun 2014 06:58:06 +0000 (23:58 -0700)
commit1aa65f4d7f8a9c7415224881a2df461ed711d9e3
tree850a080598e47d8cf3bb2225e1a883d9e108b2c1
parentc46d15040450c9d6031d90b93382f77419d495ed
e1000: Use time_after() for time comparison

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

Signed-off-by: Manuel Schölling <manuel.schoelling@gmx.de>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/e1000/e1000_ethtool.c