From: Gu Zheng <guz.fnst@cn.fujitsu.com>
To: Jens <axboe@kernel.dk>
Cc: linux-kernel <linux-kernel@vger.kernel.org>,
Kent <kmo@daterainc.com>,
Andrew Morton <akpm@linux-foundation.org>
Subject: [PATCH] bio-integrity: remove the needless fail handle of bip_slab creating
Date: Mon, 7 Jul 2014 18:06:28 +0800 [thread overview]
Message-ID: <53BA7124.5070200@cn.fujitsu.com> (raw)
bip_slab is created with SLAB_PANIC, so the fail handle is needless,
remove it.
Signed-off-by: Gu Zheng <guz.fnst@cn.fujitsu.com>
---
block/bio-integrity.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/block/bio-integrity.c b/block/bio-integrity.c
index 9e24106..56754c4 100644
--- a/block/bio-integrity.c
+++ b/block/bio-integrity.c
@@ -652,6 +652,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");
}
--
1.7.7
reply other threads:[~2014-07-07 10:18 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=53BA7124.5070200@cn.fujitsu.com \
--to=guz.fnst@cn.fujitsu.com \
--cc=akpm@linux-foundation.org \
--cc=axboe@kernel.dk \
--cc=kmo@daterainc.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.