Add missing 'else' to conditional. This doesn't really affect the code
flow or configuration in any way.
This commit is contained in:
parent
fdb25f38cb
commit
cb101e1257
@ -3231,7 +3231,7 @@ em_if_enable_intr(if_ctx_t ctx)
|
|||||||
if (hw->mac.type == e1000_82574) {
|
if (hw->mac.type == e1000_82574) {
|
||||||
E1000_WRITE_REG(hw, EM_EIAC, EM_MSIX_MASK);
|
E1000_WRITE_REG(hw, EM_EIAC, EM_MSIX_MASK);
|
||||||
ims_mask |= adapter->ims;
|
ims_mask |= adapter->ims;
|
||||||
} if (adapter->intr_type == IFLIB_INTR_MSIX && hw->mac.type >= igb_mac_min) {
|
} else if (adapter->intr_type == IFLIB_INTR_MSIX && hw->mac.type >= igb_mac_min) {
|
||||||
u32 mask = (adapter->que_mask | adapter->link_mask);
|
u32 mask = (adapter->que_mask | adapter->link_mask);
|
||||||
|
|
||||||
E1000_WRITE_REG(&adapter->hw, E1000_EIAC, mask);
|
E1000_WRITE_REG(&adapter->hw, E1000_EIAC, mask);
|
||||||
|
Loading…
Reference in New Issue
Block a user