summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/intel/iavf/iavf_status.h
diff options
context:
space:
mode:
authorSergey Nemov <sergey.nemov@intel.com>2019-04-17 15:17:30 -0700
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2019-05-31 00:19:33 -0700
commit80754bbc0711b45b265ce6028faca2af126a567f (patch)
tree37f55a4ab1577ddf8aa8c4f28643bae738f375da /drivers/net/ethernet/intel/iavf/iavf_status.h
parent8be454c91ec04c844859457d7190d997ab7a3597 (diff)
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_status.h')
-rw-r--r--drivers/net/ethernet/intel/iavf/iavf_status.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/intel/iavf/iavf_status.h b/drivers/net/ethernet/intel/iavf/iavf_status.h
index 46742fab7b8c..95026298685d 100644
--- a/drivers/net/ethernet/intel/iavf/iavf_status.h
+++ b/drivers/net/ethernet/intel/iavf/iavf_status.h
@@ -5,7 +5,7 @@
#define _IAVF_STATUS_H_
/* Error Codes */
-enum iavf_status_code {
+enum iavf_status {
I40E_SUCCESS = 0,
I40E_ERR_NVM = -1,
I40E_ERR_NVM_CHECKSUM = -2,