mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Ren <l.s.r@web.de>
To: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
Cc: linux-kernel@vger.kernel.org
Subject: [PATCH] Inline vfat_strnicmp()
Date: Sun, 27 Jul 2003 17:21:50 +0200	[thread overview]
Message-ID: <20030727172150.15f8df7f.l.s.r@web.de> (raw)

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

             reply	other threads:[~2003-07-27 15:04 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-07-27 15:21 Ren [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20030727172150.15f8df7f.l.s.r@web.de \
    --to=l.s.r@web.de \
    --cc=hirofumi@mail.parknet.co.jp \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®