From a50c52eed6c46b51f0c82cf3fbda78aaecf0dd8c Mon Sep 17 00:00:00 2001 From: Jeff Johnson Date: Thu, 7 Jun 2018 23:11:44 -0700 Subject: [PATCH] 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 --- core/mac/inc/sir_types.h | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/core/mac/inc/sir_types.h b/core/mac/inc/sir_types.h index 65cd5398be..d48c7726e0 100644 --- a/core/mac/inc/sir_types.h +++ b/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,