e1000e: cleanup - use braces in both branches of a conditional statement
Signed-off-by: Bruce Allan <bruce.w.allan@intel.com> Tested-by: Aaron Brown <aaron.f.brown@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
This commit is contained in:
parent
f23efdff77
commit
24b706b2f4
@ -3756,8 +3756,9 @@ static int e1000_test_msi_interrupt(struct e1000_adapter *adapter)
|
||||
if (adapter->flags & FLAG_MSI_TEST_FAILED) {
|
||||
adapter->int_mode = E1000E_INT_MODE_LEGACY;
|
||||
e_info("MSI interrupt test failed, using legacy interrupt.\n");
|
||||
} else
|
||||
} else {
|
||||
e_dbg("MSI interrupt test succeeded!\n");
|
||||
}
|
||||
|
||||
free_irq(adapter->pdev->irq, netdev);
|
||||
pci_disable_msi(adapter->pdev);
|
||||
|
Loading…
Reference in New Issue
Block a user