Răsfoiți Sursa

qcacld-3.0: Remove obsolete ANI_COMPILER_TYPE macros

Currently a set of ANI_COMPILER_TYPE macros are checked against, but
other than that they serve no purpose. As part of ongoing Kbuild
cleanup remove these obsolete macros.

Change-Id: Ia112d7d5ae8d12eae46144b53addc8ad54393bba
CRs-Fixed: 2220285
Jeff Johnson 7 ani în urmă
părinte
comite
a3005a1c1a
2 a modificat fișierele cu 0 adăugiri și 15 ștergeri
  1. 0 1
      Kbuild
  2. 0 14
      core/wma/inc/wma_if.h

+ 0 - 1
Kbuild

@@ -1845,7 +1845,6 @@ EXTRA_CFLAGS += $(INCS)
 CDEFINES :=	-DANI_LITTLE_BYTE_ENDIAN \
 		-DANI_LITTLE_BIT_ENDIAN \
 		-DDOT11F_LITTLE_ENDIAN_HOST \
-		-DANI_COMPILER_TYPE_GCC \
 		-DANI_OS_TYPE_ANDROID=6 \
 		-DPTT_SOCK_SVC_ENABLE \
 		-Wall\

+ 0 - 14
core/wma/inc/wma_if.h

@@ -53,20 +53,6 @@
 #error "NONE of the ANI_OS_TYPE_xxx are defined for this build"
 #endif
 
-/*
- * Validate the compiler
- */
-#if (defined(ANI_COMPILER_TYPE_MSVC) && defined(ANI_COMPILER_TYPE_GCC) && \
-					defined(ANI_COMPILER_TYPE_RVCT))
-#error "more than one ANI_COMPILER_TYPE_xxx is defined for this build"
-
-#elif !(defined(ANI_COMPILER_TYPE_MSVC) || defined(ANI_COMPILER_TYPE_GCC) || \
-					defined(ANI_COMPILER_TYPE_RVCT))
-#error "NONE of the ANI_COMPILER_TYPE_xxx are defined for this build"
-
-#endif
-
-
 #define WMA_CONFIG_PARAM_UPDATE_REQ    SIR_CFG_PARAM_UPDATE_IND
 
 #define HAL_NUM_BSSID 2