]> git.hungrycats.org Git - linux/commitdiff
[PATCH] Inline vfat_strnicmp()
authorHirofumi Ogawa <hirofumi@mail.parknet.co.jp>
Sat, 2 Aug 2003 11:09:12 +0000 (04:09 -0700)
committerLinus Torvalds <torvalds@home.osdl.org>
Sat, 2 Aug 2003 11:09:12 +0000 (04:09 -0700)
From Ren <l.s.r@web.de>

the function vfat_strnicmp() has just one callsite. Inlining it
actually shrinks vfat.o slightly.

fs/vfat/namei.c

index dab4d14acc37d8dc9a961318620c448b9b3074a5..65f337713ff3537e21accf7f5c22f674e906ad49 100644 (file)
@@ -106,7 +106,7 @@ vfat_toupper(struct nls_table *t, unsigned char c)
        return nc ? nc : c;
 }
 
-static int
+static inline int
 vfat_strnicmp(struct nls_table *t, const unsigned char *s1,
                                        const unsigned char *s2, int len)
 {