summaryrefslogtreecommitdiff
path: root/fs/xfs/kmem.h
diff options
context:
space:
mode:
authorCarlos Maiolino <cmaiolino@redhat.com>2019-11-14 23:43:04 +0300
committerDarrick J. Wong <darrick.wong@oracle.com>2019-11-18 19:40:44 +0300
commitaaf54eb8bc15de293b0fccf3be19100793b8ba67 (patch)
tree30f9e0689231c63c48c3fea7407d13e245fb57ef /fs/xfs/kmem.h
parentb1231760e44324d4cdb1b02116670c1ad2126e54 (diff)
downloadlinux-aaf54eb8bc15de293b0fccf3be19100793b8ba67.tar.xz
xfs: Remove kmem_zone_destroy() wrapper
Use kmem_cache_destroy directly Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com> Signed-off-by: Carlos Maiolino <cmaiolino@redhat.com> Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Diffstat (limited to 'fs/xfs/kmem.h')
-rw-r--r--fs/xfs/kmem.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/fs/xfs/kmem.h b/fs/xfs/kmem.h
index 15c5800128b3..70ed74c7f37e 100644
--- a/fs/xfs/kmem.h
+++ b/fs/xfs/kmem.h
@@ -87,12 +87,6 @@ kmem_zone_free(kmem_zone_t *zone, void *ptr)
kmem_cache_free(zone, ptr);
}
-static inline void
-kmem_zone_destroy(kmem_zone_t *zone)
-{
- kmem_cache_destroy(zone);
-}
-
extern void *kmem_zone_alloc(kmem_zone_t *, xfs_km_flags_t);
static inline void *