Browse Source

qcacld-3.0: Remove tSirRetStatus transition macros

Change "qcacld-3.0: Remap tSirRetStatus to QDF_STATUS" introduced a
set of macros to map tSirRetStatus to QDF_STATUS. All of the
tSirRetStatus identifiers have been renamed, so remove the now unused
macros.

Change-Id: Ie95c9806bdcc52e25e81c8adaecacbdc79207e37
CRs-Fixed: 2270654
Jeff Johnson 6 years ago
parent
commit
a50c52eed6
1 changed files with 0 additions and 19 deletions
  1. 0 19
      core/mac/inc/sir_types.h

+ 0 - 19
core/mac/inc/sir_types.h

@@ -71,25 +71,6 @@ typedef mac_handle_t tHalHandle;
 struct opaque_hdd_handle;
 typedef struct opaque_hdd_handle *hdd_handle_t;
 
-/*
- * map legacy definitions to current definitions
- * these will be removed when all legacy references are converted
- */
-typedef QDF_STATUS tSirRetStatus;
-#define eSIR_SUCCESS QDF_STATUS_SUCCESS
-#define eSIR_FAILURE QDF_STATUS_E_FAILURE
-#define eSIR_MEM_ALLOC_FAILED QDF_STATUS_E_NOMEM
-#define eSIR_HAL_STA_DOES_NOT_EXIST QDF_STATUS_E_NOENT
-#define eSIR_HAL_INPUT_INVALID QDF_STATUS_E_INVAL
-#define eSIR_LIM_IGNORE_BEACON QDF_STATUS_E_INVAL
-#define eSIR_LIM_INVALID_STA QDF_STATUS_E_NOENT
-#define eSIR_LIM_MAX_STA_REACHED_ERROR QDF_STATUS_E_NOSPC
-#define eSIR_CFG_INVALID_ID QDF_STATUS_E_INVAL
-#define eSIR_CFG_INVALID_LEN QDF_STATUS_E_INVAL
-#define eSIR_IGNORE_IE QDF_STATUS_E_INVAL
-
-#define IS_SIR_STATUS_SUCCESS(status) QDF_IS_STATUS_SUCCESS(status)
-
 typedef enum {
 	HAL_STOP_TYPE_SYS_RESET,
 	HAL_STOP_TYPE_SYS_DEEP_SLEEP,