qcacmn: Remove error log for qdf_mem_malloc in wmi files
qdf layer already has the error trace Change-Id: I4c63264f6674c6c2710368de4b5c9f24817ac74c CRs-Fixed: 2376431
This commit is contained in:

committed by
nshrivas

parent
1e618d6444
commit
610c0c8e41
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2018 The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2018-2019 The Linux Foundation. All rights reserved.
|
||||
*
|
||||
* Permission to use, copy, modify, and/or distribute this software for
|
||||
* any purpose with or without fee is hereby granted, provided that the
|
||||
@@ -229,11 +229,9 @@ static QDF_STATUS fake_dcc_update_ndl_cmd_tlv(wmi_unified_t wmi_handle,
|
||||
WMI_LOGP("%s : called", __func__);
|
||||
/* Allocate and populate the response */
|
||||
resp = qdf_mem_malloc(sizeof(*resp));
|
||||
if (!resp) {
|
||||
WMI_LOGP("%s:Error allocating memory for the response.",
|
||||
__func__);
|
||||
if (!resp)
|
||||
return -ENOMEM;
|
||||
}
|
||||
|
||||
resp->vdev_id = update_ndl_param->vdev_id;
|
||||
resp->status = 0;
|
||||
|
||||
|
Reference in New Issue
Block a user