OSDN Git Service

igb: fix various indentation issues
authorColin Ian King <colin.king@canonical.com>
Wed, 16 Jan 2019 18:53:16 +0000 (18:53 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Tue, 19 Mar 2019 21:35:18 +0000 (14:35 -0700)
There are some lines that have indentation issues, fix these

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/igb/igb_ethtool.c

index c576710..c645d9e 100644 (file)
@@ -3158,8 +3158,8 @@ static int igb_set_eee(struct net_device *netdev,
        } else if (!edata->eee_enabled) {
                dev_err(&adapter->pdev->dev,
                        "Setting EEE options are not supported with EEE disabled\n");
-                       return -EINVAL;
-               }
+               return -EINVAL;
+       }
 
        adapter->eee_advert = ethtool_adv_to_mmd_eee_adv_t(edata->advertised);
        if (hw->dev_spec._82575.eee_disable != !edata->eee_enabled) {