[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <a1d52c34-6d06-1142-0d3e-2604e15ed993@kernel.dk>
Date: Fri, 6 Oct 2017 13:04:25 -0600
From: Jens Axboe <axboe@...nel.dk>
To: Tim Hansen <devtimhansen@...il.com>
Cc: linux-block@...r.kernel.org, linux-kernel@...r.kernel.org,
alexander.levin@....verizon.com
Subject: Re: [PATCH] block: remove unnecessary NULL checks in
bioset_integrity_free()
On 10/05/2017 12:09 PM, Tim Hansen wrote:
> mempool_destroy() already checks for a NULL value being passed in, this eliminates duplicate checks.
>
> This was caught by running make coccicheck M=block/ on linus' tree on commit 77ede3a014a32746002f7889211f0cecf4803163 (current head as of this patch).
Applied, but I had to fix up your commit message. Please line wrap at
72 chars, otherwise it turns into an unreadable mess when people
try to view them.
--
Jens Axboe
Powered by blists - more mailing lists