[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <cd7ff39a-fc3b-0938-ad3b-fc070d937aa7@kernel.dk>
Date: Tue, 28 Aug 2018 08:38:17 -0600
From: Jens Axboe <axboe@...nel.dk>
To: Ding Xiang <dingxiang@...s.chinamobile.com>,
linux-block@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] block: Fix unneeded NULL check
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
Powered by blists - more mailing lists