staging: lustre: discard libcfs_kvzalloc_cpt()
authorNeilBrown <neilb@suse.com>
Tue, 20 Feb 2018 02:23:37 +0000 (13:23 +1100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 22 Feb 2018 14:03:23 +0000 (15:03 +0100)
commit9a7383c13044a9d67d18ffc72b5d1d8eb0c7c6d2
treee68ecad30faab0458b1419d5eaf0ee522e01c3d9
parent6b7936ceefa7ed1d7c0576ed9660cc6cb90d61df
staging: lustre: discard libcfs_kvzalloc_cpt()

This function is used precisely once, and is sufficiently
trivial that it may as well be open-coded.

Doing so helpfully highlights the similarity
between the new kvzalloc_node() call and the already existing
kzalloc_node() call in the same function.

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