Re: [PATCH] block: Fix unneeded NULL check

From: Jens Axboe
Date: Tue Aug 28 2018 - 10:38:24 EST


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