Browse Source

Revert "qcacld-3.0: Enable lock stats features with CONFIG_SLUB_DEBUG_ON"

This reverts the commit for enabling lock stats feature
with CONFIG_SLUB_DEBUG_ON.

Change-Id: I80df6bb1661c851bda4c0a31c87475d1f2751640
CRs-Fixed: 2009630
Ankit Gupta 8 years ago
parent
commit
764d6a928f
1 changed files with 0 additions and 11 deletions
  1. 0 11
      Kbuild

+ 0 - 11
Kbuild

@@ -1375,18 +1375,8 @@ ifeq ($(CONFIG_SLUB_DEBUG_ON),y)
 CDEFINES += -DTIMER_MANAGER
 CDEFINES += -DMEMORY_DEBUG
 CDEFINES += -DWLAN_SUSPEND_RESUME_TEST
-CONFIG_LOCK_STATS_ON := y
 endif
 
-ifeq ($(CONFIG_LOCK_STATS_ON),y)
-CDEFINES += -DQDF_LOCK_STATS=1
-CDEFINES += -DQDF_LOCK_STATS_DESTROY_PRINT=0
-CDEFINES += -DQDF_LOCK_STATS_BUG_ON=1
-CDEFINES += -DQDF_LOCK_STATS_LIST=1
-CDEFINES += -DQDF_LOCK_STATS_LIST_SIZE=256
-endif
-
-
 ifeq ($(HAVE_CFG80211),1)
 CDEFINES += -DWLAN_FEATURE_P2P
 CDEFINES += -DWLAN_FEATURE_WFD
@@ -1809,7 +1799,6 @@ KBUILD_CPPFLAGS += $(CDEFINES)
 # will override the kernel settings.
 ifeq ($(call cc-option-yn, -Wmaybe-uninitialized),y)
 EXTRA_CFLAGS += -Wmaybe-uninitialized
-
 ifneq (y,$(CONFIG_ARCH_MSM))
 EXTRA_CFLAGS += -Wframe-larger-than=4096
 endif