Эх сурвалжийг харах

qcacld-3.0: Remove obsolete ARRAY_LENGTH macro

Remove obsolete ARRAY_LENGTH macro.

Change-Id: Ibe8400fa52770ed953a65076300a0d722e7fb175
CRs-Fixed: 2409265
Srinivas Girigowda 6 жил өмнө
parent
commit
3a5c66f808

+ 0 - 4
core/wma/src/wma_features.c

@@ -69,10 +69,6 @@
 #endif
 #endif
 #include <wlan_crypto_global_api.h>
 #include <wlan_crypto_global_api.h>
 
 
-#ifndef ARRAY_LENGTH
-#define ARRAY_LENGTH(a)         (sizeof(a) / sizeof((a)[0]))
-#endif
-
 /**
 /**
  * WMA_SET_VDEV_IE_SOURCE_HOST - Flag to identify the source of VDEV SET IE
  * WMA_SET_VDEV_IE_SOURCE_HOST - Flag to identify the source of VDEV SET IE
  * command. The value is 0x0 for the VDEV SET IE WMI commands from mobile
  * command. The value is 0x0 for the VDEV SET IE WMI commands from mobile