Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 306ba6b1 authored by Yuanyuan Liu's avatar Yuanyuan Liu
Browse files

cnss_prealloc: Remove excessive warnings in cnss_prealloc driver



Remove excessive warnings in cnss_prealloc_get as WLAN host driver
will try to allocate buffer from kernel if it failed to get buffer
from cnss memory pool.

Change-Id: Ic19085a81c6ea0134085a54c463c9dda91a08955
CRs-Fixed: 2281192
Signed-off-by: default avatarYuanyuan Liu <yuanliu@codeaurora.org>
parent cecc0b27
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -163,8 +163,6 @@ void *wcnss_prealloc_get(unsigned int size)
	}
	spin_unlock_irqrestore(&alloc_lock, flags);

	WARN(1, "wcnss_prealloc not available for size %d\n", size);

	return NULL;
}
EXPORT_SYMBOL(wcnss_prealloc_get);