From: Gu Zheng Date: Mon, 13 Oct 2014 21:07:27 +0000 (-0700) Subject: bio-integrity: remove the needless fail handle of bip_slab creating X-Git-Tag: v3.18-rc1~24^2~2 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=b65c7491cb865577e83e6b7fae2aa2f4ea457c38;p=~emulex%2Finfiniband.git bio-integrity: remove the needless fail handle of bip_slab creating bip_slab is created with SLAB_PANIC, so the fail handler is unneeded. Signed-off-by: Gu Zheng Signed-off-by: Andrew Morton Signed-off-by: Jens Axboe --- diff --git a/block/bio-integrity.c b/block/bio-integrity.c index 8e0548484dd..0984232e429 100644 --- a/block/bio-integrity.c +++ b/block/bio-integrity.c @@ -513,6 +513,4 @@ void __init bio_integrity_init(void) sizeof(struct bio_integrity_payload) + sizeof(struct bio_vec) * BIP_INLINE_VECS, 0, SLAB_HWCACHE_ALIGN|SLAB_PANIC, NULL); - if (!bip_slab) - panic("Failed to create slab\n"); }