Commit 6feaf6db authored by Adrian Bunk's avatar Adrian Bunk Committed by Linus Torvalds

[PATCH] fs/adfs/dir_f.c: remove an unused function

This patch removes an unused function.
Signed-off-by: default avatarAdrian Bunk <bunk@stusta.de>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 2710bc30
......@@ -65,23 +65,6 @@ static inline int adfs_readname(char *buf, char *ptr, int maxlen)
return buf - old_buf;
}
static inline void adfs_writename(char *to, char *from, int maxlen)
{
int i;
for (i = 0; i < maxlen; i++) {
if (from[i] == '\0')
break;
if (from[i] == '.')
to[i] = '/';
else
to[i] = from[i];
}
for (; i < maxlen; i++)
to[i] = '\0';
}
#define ror13(v) ((v >> 13) | (v << 19))
#define dir_u8(idx) \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment