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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Linux RAID]     [Linux SCSI]     [Linux ATA RAID]     [IDE]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Device Mapper]

  Powered by Linux