linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Inline vfat_strnicmp()
@ 2003-07-27 15:21 Ren
  2003-07-27 16:33 ` OGAWA Hirofumi
  0 siblings, 1 reply; 10+ messages in thread
From: Ren @ 2003-07-27 15:21 UTC (permalink / raw)
  To: OGAWA Hirofumi; +Cc: linux-kernel

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)
 {

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2003-08-01 15:48 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-07-27 15:21 [PATCH] Inline vfat_strnicmp() Ren
2003-07-27 16:33 ` OGAWA Hirofumi
2003-07-31 12:33   ` Denis Vlasenko
2003-07-31 13:52     ` OGAWA Hirofumi
2003-07-31 14:04       ` David Weinehall
2003-07-31 15:00         ` OGAWA Hirofumi
2003-07-31 14:06       ` Denis Vlasenko
2003-07-31 15:07         ` OGAWA Hirofumi
2003-08-01  5:55           ` Denis Vlasenko
2003-08-01 15:47             ` OGAWA Hirofumi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).