Skip to content
Commit 89d351c0 authored by Jesper Juhl's avatar Jesper Juhl Committed by Peter P Waskiewicz Jr
Browse files

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: default avatarJesper Juhl <jj@chaosbits.net>
Acked-by: default avatarCarolyn Wyborny <carolyn.wyborny@intel.com>
Tested-by: default avatarJeff Pieper <jeffrey.e.pieper@intel.com>
Signed-off-by: default avatarPeter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com>
parent 925b11f7
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