From b89199cffd54839462832764a0480812af46172e Mon Sep 17 00:00:00 2001 From: Cunyin Chang Date: Tue, 25 Jul 2017 19:05:57 +0800 Subject: [PATCH] blobfs: remove the unnecessary assert. we will retry the alloc_cache_memory_buffer outside the function if it fail to allocate one cache buffer. Change-Id: I276173e449e700ceb7703f68828153f566249ae2 Signed-off-by: Cunyin Chang Reviewed-on: https://review.gerrithub.io/371140 Tested-by: SPDK Automated Test System Reviewed-by: Ben Walker Reviewed-by: Daniel Verkamp --- lib/blobfs/blobfs.c | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/blobfs/blobfs.c b/lib/blobfs/blobfs.c index 02046a3df..cfda2a7aa 100644 --- a/lib/blobfs/blobfs.c +++ b/lib/blobfs/blobfs.c @@ -1583,7 +1583,6 @@ alloc_cache_memory_buffer(struct spdk_file *context) } } - assert(false); return NULL; }