Re: [2.6 patch] mm/slub.c: remove unneeded NULL check

2008-02-22 Thread Pekka Enberg
Adrian Bunk wrote: There's no reason for checking c->freelist for being NULL here (and we'd anyway Oops below if it was). Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- dae2a3c60f258f3ad2522b85d79b735a89d702f0 diff --git a/mm/slub.c b/mm/slub.c index 74c65af..072e0a6 100644 --- a/mm/slub.c

[2.6 patch] mm/slub.c: remove unneeded NULL check

2008-02-22 Thread Adrian Bunk
On Wed, Feb 20, 2008 at 03:52:44PM +0200, Pekka Enberg wrote: > > Hi Adrian, > > On 2/20/2008, "Adrian Bunk" <[EMAIL PROTECTED]> wrote: > > The Coverity checker spotted the following inconsequent NULL checking > > introduced by commit 8ff12cfc009a2a38d87fa7058226fe197bb2696f: > > > > <-- snip