Skip to contentSkip to conversation

fs/adfs/dir_f.c: remove an unused function

PATCH New Adrian Bunk 1 participant 1 message Jan 23, 2005

lore
Share & tools
lore
#0 lore raw

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

This patch removes an unused function.

---

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

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

fs/adfs/dir_f.c renamed from fs/adfs/dir_f.c.old +0 -17
@@ -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)				\