zcache: Remove WARN_ON

* Not useful.

Change-Id: I66abe5e2f85b0077268cb422c9df1b2f1faad38f
Signed-off-by: Kevin F. Haggerty <haggertk@lineageos.org>
This commit is contained in:
Steve Kondik 2016-04-15 03:23:48 -07:00 committed by Francescodario Cuzzocrea
parent 584c8f2342
commit efe63d127d
1 changed files with 0 additions and 1 deletions

View File

@ -541,7 +541,6 @@ static int zcache_store_zaddr(struct zcache_pool *zpool,
spin_lock_irqsave(&rbnode->ra_lock, flags);
dup_zaddr = radix_tree_delete(&rbnode->ratree, ra_index);
if (unlikely(dup_zaddr)) {
WARN_ON("duplicated, will be replaced!\n");
if (dup_zaddr == ZERO_HANDLE) {
atomic_dec(&zcache_stored_zero_pages);
} else {