From: Jens Axboe <axboe@kernel.dk>
To: Ding Xiang <dingxiang@cmss.chinamobile.com>,
linux-block@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] block: Fix unneeded NULL check
Date: Tue, 28 Aug 2018 08:38:17 -0600 [thread overview]
Message-ID: <cd7ff39a-fc3b-0938-ad3b-fc070d937aa7@kernel.dk> (raw)
In-Reply-To: <1535441413-8583-1-git-send-email-dingxiang@cmss.chinamobile.com>
On 8/28/18 1:30 AM, Ding Xiang wrote:
> if icq_cache is null, kmem_cache_destroy will do nothing.
> So, remove the null check.
Identical patch is already queued up:
http://git.kernel.dk/cgit/linux-block/commit/?h=for-linus&id=62d2a1940709198a522a43ff8be8b8f6b3654dec
--
Jens Axboe
prev parent reply other threads:[~2018-08-28 14:38 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-08-28 7:30 [PATCH] block: Fix unneeded NULL check Ding Xiang
2018-08-28 14:38 ` Jens Axboe [this message]
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=cd7ff39a-fc3b-0938-ad3b-fc070d937aa7@kernel.dk \
--to=axboe@kernel.dk \
--cc=dingxiang@cmss.chinamobile.com \
--cc=linux-block@vger.kernel.org \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).