Skip to content

Commit

Permalink
bio-integrity: remove the needless fail handle of bip_slab creating
Browse files Browse the repository at this point in the history
bip_slab is created with SLAB_PANIC, so the fail handler is unneeded.

Signed-off-by: Gu Zheng <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
  • Loading branch information
Gu Zheng authored and axboe committed Oct 13, 2014
1 parent 7b2b10e commit b65c749
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions block/bio-integrity.c
Original file line number Diff line number Diff line change
Expand Up @@ -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");
}

0 comments on commit b65c749

Please sign in to comment.