From: Christoph Hellwig Date: Thu, 14 Oct 2010 13:54:43 +0000 (-0400) Subject: hfsplus: remove the unused hfsplus_kmap/hfsplus_kunmap helpers X-Git-Tag: v2.6.37-rc1~222^2~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=32e39e19ccb0f25c9c1b7ff246e17e795366bbbd;p=thirdparty%2Fkernel%2Flinux.git hfsplus: remove the unused hfsplus_kmap/hfsplus_kunmap helpers Signed-off-by: Christoph Hellwig --- diff --git a/fs/hfsplus/hfsplus_fs.h b/fs/hfsplus/hfsplus_fs.h index d77dfd22ea00e..cb3653efb57a2 100644 --- a/fs/hfsplus/hfsplus_fs.h +++ b/fs/hfsplus/hfsplus_fs.h @@ -398,14 +398,6 @@ static inline struct hfsplus_inode_info *HFSPLUS_I(struct inode *inode) return list_entry(inode, struct hfsplus_inode_info, vfs_inode); } -#if 1 -#define hfsplus_kmap(p) ({ struct page *__p = (p); kmap(__p); }) -#define hfsplus_kunmap(p) ({ struct page *__p = (p); kunmap(__p); __p; }) -#else -#define hfsplus_kmap(p) kmap(p) -#define hfsplus_kunmap(p) kunmap(p) -#endif - #define sb_bread512(sb, sec, data) ({ \ struct buffer_head *__bh; \ sector_t __block; \