From: Jesper Juhl Date: Wed, 1 Aug 2012 05:41:25 +0000 (+0000) Subject: igb: correct hardware type (i210/i211) check in igb_loopback_test() X-Git-Tag: v3.6-rc2~24^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=89d351c046c287f293b4b2fda1d76c4df44b95ce;p=pandora-kernel.git igb: correct hardware type (i210/i211) check in igb_loopback_test() In the original code ... if ((adapter->hw.mac.type == e1000_i210) || (adapter->hw.mac.type == e1000_i210)) { ... the second check of 'adapter->hw.mac.type' is pointless since it tests for the exact same value as the first. Signed-off-by: Jesper Juhl Acked-by: Carolyn Wyborny Tested-by: Jeff Pieper Signed-off-by: Peter P Waskiewicz Jr --- Reading git-diff-tree failed