staging: lustre: lnet: discard CFS_ALLOC_PTR
authorNeilBrown <neilb@suse.com>
Mon, 18 Dec 2017 00:46:30 +0000 (11:46 +1100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 8 Jan 2018 15:03:45 +0000 (16:03 +0100)
commit915fd1c2d1c4b05efda7975f992d54244178bc93
tree80f1a3ff85b5f35d80e09db483a74a082317a7d8
parentee3b1e23bd759b57a964dd66ee835350ae4873dd
staging: lustre: lnet: discard CFS_ALLOC_PTR

These trivial wrappers hurt readability and
as they use kvmalloc, they are overly generic.

So discard them and use kmalloc/kfree as is
normal in Linux.

Signed-off-by: NeilBrown <neilb@suse.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/include/linux/libcfs/libcfs_private.h
drivers/staging/lustre/lnet/lnet/net_fault.c