i40e: clean up several indentation issues
authorColin Ian King <colin.king@canonical.com>
Mon, 7 Jan 2019 22:59:28 +0000 (22:59 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Tue, 22 Jan 2019 16:42:03 +0000 (08:42 -0800)
There are several statements that have incorrect levels of indentation,
fix these.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_ethtool.c
drivers/net/ethernet/intel/i40e/i40e_main.c
drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c

index 31f14765719b1dee3a2d9afac88bbe5a5c59a4d5..4c885801fa2699432d0eaaaca8c4487081ee36b0 100644 (file)
@@ -2635,10 +2635,10 @@ static int i40e_set_phys_id(struct net_device *netdev,
        default:
                break;
        }
-               if (ret)
-                       return -ENOENT;
-               else
-                       return 0;
+       if (ret)
+               return -ENOENT;
+       else
+               return 0;
 }
 
 /* NOTE: i40e hardware uses a conversion factor of 2 for Interrupt
index 5d616916a0d649f598d5602f6ea55e94201d776d..5c6731b97059f28bd154f3a22725d9f4d23ad8d9 100644 (file)
@@ -8131,8 +8131,8 @@ static int i40e_handle_lldp_event(struct i40e_pf *pf,
                i40e_service_event_schedule(pf);
        } else {
                i40e_pf_unquiesce_all_vsi(pf);
-       set_bit(__I40E_CLIENT_SERVICE_REQUESTED, pf->state);
-       set_bit(__I40E_CLIENT_L2_CHANGE, pf->state);
+               set_bit(__I40E_CLIENT_SERVICE_REQUESTED, pf->state);
+               set_bit(__I40E_CLIENT_L2_CHANGE, pf->state);
        }
 
 exit:
index f62937045c5d75b37528a32112b316fe8a066cf5..831d52bc3c9ae5b4073d4909f591a7802f63c1c6 100644 (file)
@@ -3389,8 +3389,8 @@ static int i40e_vc_add_cloud_filter(struct i40e_vf *vf, u8 *msg)
                dev_info(&pf->pdev->dev,
                         "VF %d: Invalid input/s, can't apply cloud filter\n",
                         vf->vf_id);
-                       aq_ret = I40E_ERR_PARAM;
-                       goto err;
+               aq_ret = I40E_ERR_PARAM;
+               goto err;
        }
 
        cfilter = kzalloc(sizeof(*cfilter), GFP_KERNEL);