fs/ntfs3: Do not use driver own alloc wrappers
[linux-block.git] / fs / ntfs3 / debug.h
index aff4cead9f58ff3222d68d54d853808f0e17a6dc..c8403e876b2dc522520921c58fa230a4df4e04d1 100644 (file)
@@ -47,12 +47,5 @@ void ntfs_inode_printk(struct inode *inode, const char *fmt, ...)
 #define ntfs_inode_warn(inode, fmt, ...)                                       \
        ntfs_inode_printk(inode, KERN_WARNING fmt, ##__VA_ARGS__)
 
-#define ntfs_malloc(s)         kmalloc(s, GFP_NOFS)
-#define ntfs_zalloc(s)         kzalloc(s, GFP_NOFS)
-#define ntfs_vmalloc(s)                kvmalloc(s, GFP_KERNEL)
-#define ntfs_free(p)           kfree(p)
-#define ntfs_vfree(p)          kvfree(p)
-#define ntfs_memdup(src, len)  kmemdup(src, len, GFP_NOFS)
-
 #endif /* _LINUX_NTFS3_DEBUG_H */
 // clang-format on