mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 06:09:23 -04:00
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
This commit is contained in:
parent
7a169c9a81
commit
808f33bcaa
1 changed files with 0 additions and 3 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue