Skip to content

Commit

Permalink
e1000e: cleanup - use braces in both branches of a conditional statement
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Bruce Allan authored and Jeff Kirsher committed Feb 7, 2012
1 parent f23efdf commit 24b706b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/net/ethernet/intel/e1000e/netdev.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 24b706b

Please sign in to comment.