summaryrefslogtreecommitdiff
path: root/qdf/linux/src
diff options
context:
space:
mode:
authorZhang Qian <zhangq@codeaurora.org>2017-03-08 14:56:29 +0800
committerSandeep Puligilla <spuligil@codeaurora.org>2017-03-13 00:36:58 -0700
commitad55b9f5c64aab95bc7bb72d3c4af25dea60b42c (patch)
tree7c041c9b8acffdcf78579f7bdf601437518e4b0b /qdf/linux/src
parentebc7b4ff3d04cdf2ea1c1baca3115159a59547dd (diff)
qcacmn: Remove event report when failed to allocate memory
qcacld-2.0 to qcacld-3.0 propagation There will be recursive call for vos_mem_malloc once there is memory allocation failure, because vos_mem_malloc is called to allocate message buffer for WIFI_EVENT_MEMORY_FAILURE. Remove this event report in this change. Change-Id: I897af2428af7e21c2962d5c91969930125178e74 CRs-Fixed: 2010103
Diffstat (limited to 'qdf/linux/src')
-rw-r--r--qdf/linux/src/qdf_mem.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/qdf/linux/src/qdf_mem.c b/qdf/linux/src/qdf_mem.c
index fc4db07b0177..3a9a4a506c5b 100644
--- a/qdf/linux/src/qdf_mem.c
+++ b/qdf/linux/src/qdf_mem.c
@@ -949,9 +949,6 @@ void *qdf_mem_malloc_debug(size_t size,
mem_ptr = (void *)(mem_struct + 1);
}
- if (!mem_ptr)
- host_log_low_resource_failure(WIFI_EVENT_MEMORY_FAILURE);
-
return mem_ptr;
}
EXPORT_SYMBOL(qdf_mem_malloc_debug);