qcacmn: Remove error log for qdf_mem_malloc in os_if files

qdf layer already has the error trace

Change-Id: I4ff1fa2a7e261aecd715fd2c8ae68e6e843f1118
CRs-Fixed: 2376427
This commit is contained in:
Madhvapathi Sriram
2019-01-07 09:25:15 +05:30
committed by nshrivas
parent 1197bf79b8
commit 409d19924e
4 changed files with 17 additions and 39 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2012-2018 The Linux Foundation. All rights reserved.
* Copyright (c) 2012-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
@@ -277,10 +277,9 @@ void os_if_wifi_pos_send_peer_status(struct qdf_mac_addr *peer_mac,
}
peer_info = qdf_mem_malloc(sizeof(*peer_info));
if (!peer_info) {
cfg80211_alert("malloc failed");
if (!peer_info)
return;
}
qdf_mem_copy(peer_info->peer_mac_addr, peer_mac->bytes,
sizeof(peer_mac->bytes));
peer_info->peer_status = peer_status;