[PATCH] Inline vfat_strnicmp()

From: Re (l.s.r@web.de)
Date: Sun Jul 27 2003 - 10:21:50 EST


Hi,

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

René

diff -u ./fs/vfat/namei.c~ ./fs/vfat/namei.c
--- ./fs/vfat/namei.c~ 2003-07-27 16:41:36.000000000 +0200
+++ ./fs/vfat/namei.c 2003-07-27 17:12:12.000000000 +0200
@@ -103,7 +103,7 @@
         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)
 {
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Jul 31 2003 - 22:00:32 EST