summaryrefslogtreecommitdiffstats
path: root/drivers/staging/lustre/include
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.com>2018-02-20 13:23:37 +1100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-02-22 15:03:23 +0100
commit9a7383c13044a9d67d18ffc72b5d1d8eb0c7c6d2 (patch)
treee68ecad30faab0458b1419d5eaf0ee522e01c3d9 /drivers/staging/lustre/include
parent6b7936ceefa7ed1d7c0576ed9660cc6cb90d61df (diff)
downloadop-kernel-dev-9a7383c13044a9d67d18ffc72b5d1d8eb0c7c6d2.zip
op-kernel-dev-9a7383c13044a9d67d18ffc72b5d1d8eb0c7c6d2.tar.gz
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>
Diffstat (limited to 'drivers/staging/lustre/include')
-rw-r--r--drivers/staging/lustre/include/linux/libcfs/libcfs.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/staging/lustre/include/linux/libcfs/libcfs.h b/drivers/staging/lustre/include/linux/libcfs/libcfs.h
index 4f8c65e..0392057 100644
--- a/drivers/staging/lustre/include/linux/libcfs/libcfs.h
+++ b/drivers/staging/lustre/include/linux/libcfs/libcfs.h
@@ -113,8 +113,6 @@ static inline void *__container_of(void *ptr, unsigned long shift)
#define _LIBCFS_H
void *libcfs_kvzalloc(size_t size, gfp_t flags);
-void *libcfs_kvzalloc_cpt(struct cfs_cpt_table *cptab, int cpt, size_t size,
- gfp_t flags);
extern struct miscdevice libcfs_dev;
/**
OpenPOWER on IntegriCloud