diff options
author | Christoph Hellwig <hch@tuxera.com> | 2010-10-14 09:54:43 -0400 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2010-10-14 09:54:43 -0400 |
commit | 32e39e19ccb0f25c9c1b7ff246e17e795366bbbd (patch) | |
tree | 6463d73effe08ab112976c3986d5d9d8067b4579 /fs/hfsplus/hfsplus_fs.h | |
parent | 90e616905a423126805186cb5754e10a704b30c8 (diff) |
hfsplus: remove the unused hfsplus_kmap/hfsplus_kunmap helpers
Signed-off-by: Christoph Hellwig <hch@tuxera.com>
Diffstat (limited to 'fs/hfsplus/hfsplus_fs.h')
-rw-r--r-- | fs/hfsplus/hfsplus_fs.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/fs/hfsplus/hfsplus_fs.h b/fs/hfsplus/hfsplus_fs.h index d77dfd22ea00..cb3653efb57a 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) | |||
398 | return list_entry(inode, struct hfsplus_inode_info, vfs_inode); | 398 | return list_entry(inode, struct hfsplus_inode_info, vfs_inode); |
399 | } | 399 | } |
400 | 400 | ||
401 | #if 1 | ||
402 | #define hfsplus_kmap(p) ({ struct page *__p = (p); kmap(__p); }) | ||
403 | #define hfsplus_kunmap(p) ({ struct page *__p = (p); kunmap(__p); __p; }) | ||
404 | #else | ||
405 | #define hfsplus_kmap(p) kmap(p) | ||
406 | #define hfsplus_kunmap(p) kunmap(p) | ||
407 | #endif | ||
408 | |||
409 | #define sb_bread512(sb, sec, data) ({ \ | 401 | #define sb_bread512(sb, sec, data) ({ \ |
410 | struct buffer_head *__bh; \ | 402 | struct buffer_head *__bh; \ |
411 | sector_t __block; \ | 403 | sector_t __block; \ |