Commit b65c7491 authored by Gu Zheng's avatar Gu Zheng Committed by Jens Axboe
Browse files

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: default avatarGu Zheng <guz.fnst@cn.fujitsu.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarJens Axboe <axboe@fb.com>
parent 7b2b10e0
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -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");
}