Thread (3 messages) 3 messages, 2 authors, 2018-08-30

Re: [PATCH] block: elevator: remove unneeded null check in elv_register()

From: Jens Axboe <axboe@kernel.dk>
Date: 2018-08-30 20:00:15

On 8/30/18 1:56 PM, John Pittman wrote:
Since commit 3942d2991852 ("mm/slab_common: allow NULL cache
pointer in kmem_cache_destroy()"), the kmem_cache_destroy()
function has been able to handle null pointers.  Remove NULL
check against e->icq_cache in elv_register(), simplifying the code.
You're the 3rd person sending in this patch this week :-)

http://git.kernel.dk/cgit/linux-block/commit/?h=for-linus&id=62d2a1940709198a522a43ff8be8b8f6b3654dec

-- 
Jens Axboe
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help