Ver código fonte

qcacld-3.0: Remove obsolete ARRAY_LENGTH macro

Remove obsolete ARRAY_LENGTH macro.

Change-Id: Ibe8400fa52770ed953a65076300a0d722e7fb175
CRs-Fixed: 2409265
Srinivas Girigowda 6 anos atrás
pai
commit
3a5c66f808
1 arquivos alterados com 0 adições e 4 exclusões
  1. 0 4
      core/wma/src/wma_features.c

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

@@ -69,10 +69,6 @@
 #endif
 #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
  * command. The value is 0x0 for the VDEV SET IE WMI commands from mobile