[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAFLxGvzu2zeKPicKewy2dKwj4aza=U1k+RA_c2R+Mjr4OG5f=w@mail.gmail.com>
Date: Tue, 4 Aug 2015 22:02:38 +0200
From: Richard Weinberger <richard.weinberger@...il.com>
To: Salah Triki <salah.triki@....org>
Cc: David Woodhouse <dwmw2@...radead.org>,
"linux-mtd@...ts.infradead.org" <linux-mtd@...ts.infradead.org>,
LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] jffs2: Remove NULL checks from jffs2_destroy_slab_caches
On Tue, Aug 4, 2015 at 9:46 PM, Salah Triki <salah.triki@....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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists