OSDN Git Service

cnss_prealloc: Remove WARN_ON
authorPrashanth Bhatta <bhattap@codeaurora.org>
Thu, 6 Apr 2017 19:40:16 +0000 (12:40 -0700)
committerGerrit - the friendly Code Review server <code-review@localhost>
Mon, 17 Apr 2017 03:09:40 +0000 (20:09 -0700)
commita16fc7b9707db3b9ffeedddab97d2ebd7c5a92be
tree7113d2e3462013fc513e3bb9077085e55fc9f2d4
parent9b3e8a81dcee1d1b92db6429f9abd83cc22c01f4
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>
drivers/net/wireless/cnss_prealloc/cnss_prealloc.c