From ca9551221bf09deec04507a1efac747a28a64b3e Mon Sep 17 00:00:00 2001 From: Matt Macy Date: Wed, 9 May 2018 17:48:52 +0000 Subject: [PATCH] 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 --- sys/dev/e1000/e1000_82571.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/e1000/e1000_82571.c b/sys/dev/e1000/e1000_82571.c index 57c47a5ebd6..348a3daa3c0 100644 --- a/sys/dev/e1000/e1000_82571.c +++ b/sys/dev/e1000/e1000_82571.c @@ -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; }