cnss_prealloc: Remove WARN_ON
WARN_ON is unnecessary if pre-alloc table doesn't have any free memory. Remove the WARN_ON as error log is enough to find out missing entry. Change-Id: I5a46e1f259e88d1a19f05195f5d7bb0745d072c3 CRs-fixed: 2030272 Signed-off-by: Prashanth Bhatta <bhattap@codeaurora.org>
This commit is contained in:
parent
9b3e8a81dc
commit
a16fc7b970
1 changed files with 0 additions and 1 deletions
|
@ -181,7 +181,6 @@ void *wcnss_prealloc_get(unsigned int size)
|
|||
|
||||
pr_err("wcnss: %s: prealloc not available for size: %d\n",
|
||||
__func__, size);
|
||||
WARN_ON(1);
|
||||
|
||||
return NULL;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue