summaryrefslogtreecommitdiff
path: root/fs/xfs/kmem.h
diff options
context:
space:
mode:
authorDarrick J. Wong <djwong@kernel.org>2021-09-27 14:26:19 -0700
committerDarrick J. Wong <djwong@kernel.org>2021-10-22 16:00:31 -0700
commite7720afad068a6729d9cd3aaa08212f2f5a7ceff (patch)
tree62c84f29a1b0f45baae781251a029c04b006411f /fs/xfs/kmem.h
parent9fa47bdcd33b117599e9ee3f2e315cb47939ac2d (diff)
xfs: remove kmem_zone typedef
Remove these typedefs by referencing kmem_cache directly. Signed-off-by: Darrick J. Wong <djwong@kernel.org> Reviewed-by: Chandan Babu R <chandan.babu@oracle.com>
Diffstat (limited to 'fs/xfs/kmem.h')
-rw-r--r--fs/xfs/kmem.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/fs/xfs/kmem.h b/fs/xfs/kmem.h
index 54da6d717a06..b987dc2c6851 100644
--- a/fs/xfs/kmem.h
+++ b/fs/xfs/kmem.h
@@ -72,10 +72,6 @@ kmem_zalloc(size_t size, xfs_km_flags_t flags)
/*
* Zone interfaces
*/
-
-#define kmem_zone kmem_cache
-#define kmem_zone_t struct kmem_cache
-
static inline struct page *
kmem_to_page(void *addr)
{