diff options
author | Sergey Nemov <sergey.nemov@intel.com> | 2019-04-18 01:17:30 +0300 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2019-05-31 10:19:33 +0300 |
commit | 80754bbc0711b45b265ce6028faca2af126a567f (patch) | |
tree | 37f55a4ab1577ddf8aa8c4f28643bae738f375da /drivers/net/ethernet/intel/iavf/iavf_client.c | |
parent | 8be454c91ec04c844859457d7190d997ab7a3597 (diff) | |
download | linux-80754bbc0711b45b265ce6028faca2af126a567f.tar.xz |
iavf: change iavf_status_code to iavf_status
Instead of typedefing the enum iavf_status_code with iavf_status,
just shorten the enum itself and get rid of typedef.
Signed-off-by: Sergey Nemov <sergey.nemov@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/ethernet/intel/iavf/iavf_client.c')
-rw-r--r-- | drivers/net/ethernet/intel/iavf/iavf_client.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/ethernet/intel/iavf/iavf_client.c b/drivers/net/ethernet/intel/iavf/iavf_client.c index ab9db7e9f09d..3cdcaac75b70 100644 --- a/drivers/net/ethernet/intel/iavf/iavf_client.c +++ b/drivers/net/ethernet/intel/iavf/iavf_client.c @@ -135,7 +135,7 @@ void iavf_notify_client_open(struct iavf_vsi *vsi) static int iavf_client_release_qvlist(struct i40e_info *ldev) { struct iavf_adapter *adapter = ldev->vf; - iavf_status err; + enum iavf_status err; if (adapter->aq_required) return -EAGAIN; @@ -420,7 +420,7 @@ static u32 iavf_client_virtchnl_send(struct i40e_info *ldev, u8 *msg, u16 len) { struct iavf_adapter *adapter = ldev->vf; - iavf_status err; + enum iavf_status err; if (adapter->aq_required) return -EAGAIN; @@ -449,7 +449,7 @@ static int iavf_client_setup_qvlist(struct i40e_info *ldev, struct virtchnl_iwarp_qvlist_info *v_qvlist_info; struct iavf_adapter *adapter = ldev->vf; struct i40e_qv_info *qv_info; - iavf_status err; + enum iavf_status err; u32 v_idx, i; size_t msg_size; |