From: Bruce Allan Date: Tue, 31 Jan 2012 06:37:22 +0000 (+0000) Subject: e1000e: cleanup - use braces in both branches of a conditional statement X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=24b706b2f4bb28c34d32f9d333d8a118215a38cc;p=GitHub%2Fmt8127%2Fandroid_kernel_alcatel_ttab.git e1000e: cleanup - use braces in both branches of a conditional statement Signed-off-by: Bruce Allan Tested-by: Aaron Brown Signed-off-by: Jeff Kirsher --- diff --git a/drivers/net/ethernet/intel/e1000e/netdev.c b/drivers/net/ethernet/intel/e1000e/netdev.c index c05137f362a1..02efae08ce3b 100644 --- a/drivers/net/ethernet/intel/e1000e/netdev.c +++ b/drivers/net/ethernet/intel/e1000e/netdev.c @@ -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);