Re: [PATCH V2] checkpatch: Add some <foo>_destroy functions to NEEDLESS_IF tests

From: Sergey Senozhatsky
Date: Thu Jun 11 2015 - 05:51:29 EST


On (06/11/15 11:41), Julia Lawall wrote:
> On Tue, 9 Jun 2015, Joe Perches wrote:
>
> > Sergey Senozhatsky has modified several destroy functions that can
> > now be called with NULL values.
> >
> > - kmem_cache_destroy()
> > - mempool_destroy()
> > - dma_pool_destroy()
>
> I don't actually see any null test in the definition of dma_pool_destroy,
> in the linux-next 54896f27dd5 (20150610). So I guess it would be
> premature to send patches to remove the null tests.
>

yes,

Andrew Morton:
: I'll park these patches until after 4.1 is released - it's getting to
: that time...


-ss
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/