> > +#ifdef DEBUG_SLAB
> > +     if (retval < 0 ) {
> > +             if(kmem_cache_destroy(uhci_desc_kmem))
> 
> Why only #ifdef DEBUG_SLAB?
> AFAICS the driver should always destroy it's slab cache.
> 
> Please cc, I'm not subscribed to linux-kernel.
(why not?  :)
> --
>       Manfred

This driver only uses slab caches when it's debugging.
DEBUG & SLAB go together.

~Randy

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/

Reply via email to