[PATCH] jffs2: Remove NULL checks from jffs2_destroy_slab_caches

Richard Weinberger richard.weinberger at gmail.com
Tue Aug 4 13:02:38 PDT 2015


On Tue, Aug 4, 2015 at 9:46 PM, Salah Triki <salah.triki at acm.org> wrote:
> kmem_cache_destroy can be called with NULL values. Thus, the checks that
> precede the calls are useless.

Since when?
I don't see a !NULL check in kmem_cache_destroy().

-- 
Thanks,
//richard



More information about the linux-mtd mailing list