From: Chao Yu Date: Mon, 16 Feb 2015 08:15:44 +0000 (+0800) Subject: f2fs: remove unused inline_dentry_addr X-Git-Tag: v5.15~15937^2~70 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1753396a0a1c574969dc0c4b369ac4ac3d299245;p=platform%2Fkernel%2Flinux-starfive.git f2fs: remove unused inline_dentry_addr inline_dentry_addr is introduced with inline dentry feature without being used, now we do not need to keep it for any reason, so remove it. Signed-off-by: Chao Yu Signed-off-by: Jaegeuk Kim --- diff --git a/fs/f2fs/f2fs.h b/fs/f2fs/f2fs.h index 7fa3313..a978b65 100644 --- a/fs/f2fs/f2fs.h +++ b/fs/f2fs/f2fs.h @@ -1290,12 +1290,6 @@ static inline int f2fs_has_inline_dentry(struct inode *inode) return is_inode_flag_set(F2FS_I(inode), FI_INLINE_DENTRY); } -static inline void *inline_dentry_addr(struct page *page) -{ - struct f2fs_inode *ri = F2FS_INODE(page); - return (void *)&(ri->i_addr[1]); -} - static inline void f2fs_dentry_kunmap(struct inode *dir, struct page *page) { if (!f2fs_has_inline_dentry(dir))