linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Bob Liu <lliubbo@gmail.com>
To: akpm@linux-foundation.org
Cc: linux-mm@kvack.org, mpm@selenic.com, hannes@cmpxchg.org,
	Bob Liu <lliubbo@gmail.com>
Subject: [PATCH] slob: remove unused funtion
Date: Sat, 10 Jul 2010 18:05:53 +0800	[thread overview]
Message-ID: <1278756353-6884-1-git-send-email-lliubbo@gmail.com> (raw)

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)); }
 
 /*
  * free_slob_page: call before a slob_page is returned to the page allocator.
-- 
1.5.6.3

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

             reply	other threads:[~2010-07-10 10:06 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-10 10:05 Bob Liu [this message]
2010-07-10 10:57 ` [PATCH] slob: remove unused funtion Johannes Weiner
2010-07-10 13:26   ` Bob Liu
2010-07-10 14:57 ` Matt Mackall

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=1278756353-6884-1-git-send-email-lliubbo@gmail.com \
    --to=lliubbo@gmail.com \
    --cc=akpm@linux-foundation.org \
    --cc=hannes@cmpxchg.org \
    --cc=linux-mm@kvack.org \
    --cc=mpm@selenic.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).