* [PATCH -mm] ext3: remove unused code from ext3_find_entry()
@ 2007-12-12 21:14 Mariusz Kozlowski
0 siblings, 0 replies; only message in thread
From: Mariusz Kozlowski @ 2007-12-12 21:14 UTC (permalink / raw)
To: sct, akpm; +Cc: linux-ext4, lkml
Hello,
This patch removes unused code from ext3_find_entry().
Compile and boot tested.
Signed-off-by: Mariusz Kozlowski <m.kozlowski@tuxland.pl>
fs/ext3/namei.c | 67174 -> 67077 (-97 bytes)
fs/ext3/namei.o | 157944 -> 157896 (-48 bytes)
fs/ext3/namei.c | 4 ----
1 file changed, 4 deletions(-)
--- linux-2.6.24-rc4-mm1-a/fs/ext3/namei.c 2007-12-06 09:27:07.000000000 +0100
+++ linux-2.6.24-rc4-mm1-b/fs/ext3/namei.c 2007-12-12 21:14:07.000000000 +0100
@@ -860,14 +860,10 @@ static struct buffer_head * ext3_find_en
int nblocks, i, err;
struct inode *dir = dentry->d_parent->d_inode;
int namelen;
- const u8 *name;
- unsigned blocksize;
*res_dir = NULL;
sb = dir->i_sb;
- blocksize = sb->s_blocksize;
namelen = dentry->d_name.len;
- name = dentry->d_name.name;
if (namelen > EXT3_NAME_LEN)
return NULL;
if (is_dx(dir)) {
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2007-12-12 21:13 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-12-12 21:14 [PATCH -mm] ext3: remove unused code from ext3_find_entry() Mariusz Kozlowski
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).