summaryrefslogtreecommitdiffstats
path: root/fs/ext3
diff options
context:
space:
mode:
authorGuo Chao <yan@linux.vnet.ibm.com>2012-12-18 16:56:39 +0800
committerJan Kara <jack@suse.cz>2013-01-21 11:19:55 +0100
commit306a74920ba9ccf6b5f110f97c1cb6bb2caeff93 (patch)
tree4dc368826f2fa994b70be1b17aa1dcd763b064c3 /fs/ext3
parent9a9284153d965a57edc7162a8e57c14c97f3a935 (diff)
downloadop-kernel-dev-306a74920ba9ccf6b5f110f97c1cb6bb2caeff93.zip
op-kernel-dev-306a74920ba9ccf6b5f110f97c1cb6bb2caeff93.tar.gz
ext3, ext4, ocfs2: remove unused macro NAMEI_RA_INDEX
This macro, initially introduced by ext2 in v0.99.15, does not have any users from the beginning. It has been removed in later ext2 version but still remains in the code of ext3, ext4, ocfs2. Remove this macro there. Cc: Jan Kara <jack@suse.cz> Cc: linux-ext4@vger.kernel.org Cc: ocfs2-devel@oss.oracle.com Acked-by: Mark Fasheh <mfasheh@suse.de> Acked-by: "Theodore Ts'o" <tytso@mit.edu> Signed-off-by: Guo Chao <yan@linux.vnet.ibm.com> Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'fs/ext3')
-rw-r--r--fs/ext3/namei.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/ext3/namei.c b/fs/ext3/namei.c
index 890b894..88f64eb 100644
--- a/fs/ext3/namei.c
+++ b/fs/ext3/namei.c
@@ -36,7 +36,6 @@
#define NAMEI_RA_CHUNKS 2
#define NAMEI_RA_BLOCKS 4
#define NAMEI_RA_SIZE (NAMEI_RA_CHUNKS * NAMEI_RA_BLOCKS)
-#define NAMEI_RA_INDEX(c,b) (((c) * NAMEI_RA_BLOCKS) + (b))
static struct buffer_head *ext3_append(handle_t *handle,
struct inode *inode,
OpenPOWER on IntegriCloud