]> www.infradead.org Git - users/jedix/linux-maple.git/commit
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)
committerJoe Jin <joe.jin@oracle.com>
Thu, 17 May 2012 07:48:01 +0000 (15:48 +0800)
commit5610ee06aee64069db541f3a556788ec7203d610
tree2cfb5ba1961a5b8b44bb3504db00dd56ad817d8c
parent19ef8940f66d6744c2e42cd15de3c60e8ca52d98
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.

(cherry picked from commit 4bcf053baf6b255e8c82c7ecd0d15954adb0379b)
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>
Signed-off-by: Joe Jin <joe.jin@oracle.com>
drivers/net/e1000e/mac.c