Skip to contentSkip to conversation

fs/adfs: remove an unused function (fwd)

PATCH New Adrian Bunk 1 participant 1 message Nov 29, 2004

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fs/adfs: remove an unused function (fwd)

The patch forwarded below still applies and compiles against 2.6.10-rc2-mm3.

Please apply.

----- Forwarded message from Adrian Bunk <[email protected]> -----

Date: Fri, 29 Oct 2004 02:11:40 +0200
From: Adrian Bunk <[email protected]>
To: [email protected]
Cc: [email protected]
Subject: [2.6 patch] fs/adfs: remove an unused function

[ this time without the problems due to a signature... ]

The patch below removes an unsed fubnction from fs/adfs/dir_f.c

diffstat output:

 fs/adfs/dir_f.c |   17 -----------------
 1 files changed, 17 deletions(-)
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)				\

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

----- End forwarded message -----