hfsplus: remove the unused hfsplus_kmap/hfsplus_kunmap helpers
authorChristoph Hellwig <hch@tuxera.com>
Thu, 14 Oct 2010 13:54:43 +0000 (09:54 -0400)
committerChristoph Hellwig <hch@lst.de>
Thu, 14 Oct 2010 13:54:43 +0000 (09:54 -0400)
Signed-off-by: Christoph Hellwig <hch@tuxera.com>
fs/hfsplus/hfsplus_fs.h

index d77dfd22ea00e2aa7702139b76ceed9b32897c44..cb3653efb57a2dcf2285a19fcb7262cb7a1ba509 100644 (file)
@@ -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;                               \