e1000e: remove test that is always false
authorBruce Allan <bruce.w.allan@intel.com>
Tue, 31 Jan 2012 06:37:59 +0000 (06:37 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 10 Feb 2012 08:06:07 +0000 (00:06 -0800)
commit4bcf053baf6b255e8c82c7ecd0d15954adb0379b
tree8f74317cdaac22a0f8b1fdfa96db0bf99223abb8
parent4cbbb04dc115423682349aa7466c8aeead825140
e1000e: remove test that is always false

warning: comparison of unsigned expression < 0 is always false

Remove an unnecessary test that is reported when compiling driver with W=1.
The test is unnecessary because Intel wired GbE hardware older (i.e. less)
than 82571 is not supported by this driver.

Signed-off-by: Bruce Allan <bruce.w.allan@intel.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/e1000e/mac.c