e1000e: cleanup - use braces in both branches of a conditional statement
authorBruce Allan <bruce.w.allan@intel.com>
Tue, 31 Jan 2012 06:37:22 +0000 (06:37 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Tue, 7 Feb 2012 12:14:50 +0000 (04:14 -0800)
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>
drivers/net/ethernet/intel/e1000e/netdev.c

index c05137f..02efae0 100644 (file)
@@ -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);