staging: et131x: Replace kmem_cache use with plain kmalloc/kfree
authorMark Einon <mark.einon@gmail.com>
Fri, 16 Nov 2012 10:47:41 +0000 (10:47 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 21 Nov 2012 21:57:28 +0000 (13:57 -0800)
commitd959df0a4940e3c07be992279b9439626b23083f
tree99c788ea3b59b129e835119042d1c83025c1b9c7
parent9967bd4842b39eaf632f77028fdd798775fd9686
staging: et131x: Replace kmem_cache use with plain kmalloc/kfree

The use of a kmem_cache was noted as being unusual in the TODO. Replace
the kmem_cache with kmalloc/kfree so that the code is less suprising.

Also tidy up the mess that was the et131x_init_recv() out of memory
error path.

Signed-off-by: Mark Einon <mark.einon@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/et131x/README
drivers/staging/et131x/et131x.c