summaryrefslogtreecommitdiffstats
path: root/drivers/staging/lustre/include/linux
diff options
context:
space:
mode:
authorJames Simmons <jsimmons@infradead.org>2016-03-31 10:18:37 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-03-31 13:04:45 -0700
commitbadc9feddfd30096666e22afbda028971a49bfa9 (patch)
tree59c3d721ef90765aa1f124fe38ff536c3f84bcfb /drivers/staging/lustre/include/linux
parentbd6e2c5067ad6ead097ada26e899ba97266a8bf0 (diff)
downloadop-kernel-dev-badc9feddfd30096666e22afbda028971a49bfa9.zip
op-kernel-dev-badc9feddfd30096666e22afbda028971a49bfa9.tar.gz
staging: lustre: libcfs: remove page_index() macro
Just use the index field directly for struct page. Signed-off-by: James Simmons <uja.ornl@gmail.com> Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-6245 Reviewed-on: http://review.whamcloud.com/13841 Reviewed-by: frank zago <fzago@cray.com> Reviewed-by: Dmitry Eremin <dmitry.eremin@intel.com> Reviewed-by: John L. Hammond <john.hammond@intel.com> Reviewed-by: Oleg Drokin <oleg.drokin@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/lustre/include/linux')
-rw-r--r--drivers/staging/lustre/include/linux/libcfs/linux/linux-mem.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/staging/lustre/include/linux/libcfs/linux/linux-mem.h b/drivers/staging/lustre/include/linux/libcfs/linux/linux-mem.h
index c50ef83..12fde3c 100644
--- a/drivers/staging/lustre/include/linux/libcfs/linux/linux-mem.h
+++ b/drivers/staging/lustre/include/linux/libcfs/linux/linux-mem.h
@@ -57,8 +57,6 @@
#include "../libcfs_cpu.h"
#endif
-#define page_index(p) ((p)->index)
-
#if BITS_PER_LONG == 32
/* limit to lowmem on 32-bit systems */
#define NUM_CACHEPAGES \
OpenPOWER on IntegriCloud