[qca-nss-drv] removing BUG_ON as it crashes when slub debug is enabled
We hit a BUG_ON when we enable CONFIG_SLUB_DEBUG in
the following code snippet.
void *kern_addr = kzalloc(PAGE_SIZE, GFP_ATOMIC);
if (!kern_addr) {
BUG_ON(!page_count);
break;
}
BUG_ON((long unsigned int)kern_addr % PAGE_SIZE);
We hit the last BUG_ON when slub debug is enabled.
We remove this BUG_ON as we do not require this check
Change-Id: I6c81bf8c502664544a23d5a39d5a40b3e4db816a
Signed-off-by: Tallapragada <ktallapr@codeaurora.org>
1 file changed