patch-2.1.121 linux/fs/vfat/namei.c

Next file: linux/include/asm-alpha/asm_offsets.h
Previous file: linux/fs/umsdos/specs
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.120/linux/fs/vfat/namei.c linux/fs/vfat/namei.c
@@ -100,22 +100,6 @@
 	}
 };
 
-static int strnicmp(const char *s1, const char *s2, int len)
-{
-	int n = 0;
-	while (*s1 && *s2 && (tolower(*s1) == tolower(*s2))) {
-		s1++; s2++; n++;
-		if (n == len) return 0;
-	}
-	if (*s1 == 0 && *s2 == 0) return 0;
-	if (*s1 && *s2) {
-		if (*s1 > *s2) return 1;
-		return -1;
-	}
-	if (*s1) return 1;
-	return -1;
-}
-
 void vfat_put_super(struct super_block *sb)
 {
 	fat_put_super(sb);

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov