From: Matt Mackall <mpm@selenic.com>
To: Bob Liu <lliubbo@gmail.com>
Cc: akpm@linux-foundation.org, linux-mm@kvack.org, hannes@cmpxchg.org
Subject: Re: [PATCH] slob: remove unused funtion
Date: Sat, 10 Jul 2010 09:57:33 -0500 [thread overview]
Message-ID: <1278773853.936.1.camel@calx> (raw)
In-Reply-To: <1278756353-6884-1-git-send-email-lliubbo@gmail.com>
On Sat, 2010-07-10 at 18:05 +0800, Bob Liu wrote:
> funtion struct_slob_page_wrong_size() is not used anymore, remove it
>
> Signed-off-by: Bob Liu <lliubbo@gmail.com>
> ---
> mm/slob.c | 2 --
> 1 files changed, 0 insertions(+), 2 deletions(-)
>
> diff --git a/mm/slob.c b/mm/slob.c
> index d582171..832d2b5 100644
> --- a/mm/slob.c
> +++ b/mm/slob.c
> @@ -109,8 +109,6 @@ struct slob_page {
> struct page page;
> };
> };
> -static inline void struct_slob_page_wrong_size(void)
> -{ BUILD_BUG_ON(sizeof(struct slob_page) != sizeof(struct page)); }
This function exists to raise a compile error if the structure sizes
mismatch, and doesn't actually get included in the compiled output.
--
Mathematics is the supreme nostalgia of our time.
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
prev parent reply other threads:[~2010-07-10 14:57 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-07-10 10:05 [PATCH] slob: remove unused funtion Bob Liu
2010-07-10 10:57 ` Johannes Weiner
2010-07-10 13:26 ` Bob Liu
2010-07-10 14:57 ` Matt Mackall [this message]
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=1278773853.936.1.camel@calx \
--to=mpm@selenic.com \
--cc=akpm@linux-foundation.org \
--cc=hannes@cmpxchg.org \
--cc=linux-mm@kvack.org \
--cc=lliubbo@gmail.com \
/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;
as well as URLs for NNTP newsgroup(s).