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

From: Adrian Bunk
Date: Sun Jan 23 2005 - 05:28:01 EST


This patch removes an unused function.

Signed-off-by: Adrian Bunk <bunk@xxxxxxxxx>

---

fs/adfs/dir_f.c | 17 -----------------
1 files changed, 17 deletions(-)

This patch was already sent on:
- 29 Oct 2004
- 29 Nov 2004

--- linux-2.6.10-rc1-mm1-full/fs/adfs/dir_f.c.old 2004-10-28 22:40:09.000000000 +0200
+++ linux-2.6.10-rc1-mm1-full/fs/adfs/dir_f.c 2004-10-28 22:40:20.000000000 +0200
@@ -65,23 +65,6 @@
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) \
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/