Re: [PATCH] block: remove unnecessary NULL checks in bioset_integrity_free()

From: Jens Axboe
Date: Fri Oct 06 2017 - 15:04:32 EST


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