staging: ozwpan: Use slab cache for oz_elt_info allocation
commit2b8b61aaef59751fe85c1b2df51a848a6c50d202
authorChristoph Jaeger <email@christophjaeger.info>
Fri, 8 Aug 2014 06:00:42 +0000 (8 08:00 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 16 Aug 2014 19:23:12 +0000 (16 12:23 -0700)
treef11d28d16adc61f7d9dd245d6c778fdd4e7af224
parent9e6fbdde1219bdd3875e72c6278beebf241bd416
staging: ozwpan: Use slab cache for oz_elt_info allocation

Use a slab cache rather than rolling our own free list.

Signed-off-by: Christoph Jaeger <email@christophjaeger.info>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/ozwpan/ozeltbuf.c
drivers/staging/ozwpan/ozeltbuf.h
drivers/staging/ozwpan/ozpd.c
drivers/staging/ozwpan/ozpd.h
drivers/staging/ozwpan/ozproto.c
drivers/staging/ozwpan/ozproto.h