Remove bogus panic

r333345 added a panic to the default case statement on the incorrect
premise that it should "never happen" when in fact it is simply a
different adapter version.

Reported by:	markj
Approved by:	sbruno
This commit is contained in:
Matt Macy 2018-05-09 17:48:52 +00:00
parent 480e017cc8
commit ca9551221b

View File

@ -1000,7 +1000,7 @@ static s32 e1000_reset_hw_82571(struct e1000_hw *hw)
e1000_put_hw_semaphore_82574(hw);
break;
default:
panic("unknown mac type %x\n", hw->mac.type);
/* we didn't get the semaphore no need to put it */
break;
}