On Sat, Jul 10, 2010 at 06:05:53PM +0800, Bob Liu wrote: > funtion struct_slob_page_wrong_size() is not used anymore, remove it > > Signed-off-by: Bob Liu <lliubbo@xxxxxxxxx> > --- > 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)); } It is not unused! Try `make mm/slob.o' with the following patch applied: diff --git a/mm/slob.c b/mm/slob.c index 23631e2..d50ff8e 100644 --- a/mm/slob.c +++ b/mm/slob.c @@ -106,6 +106,7 @@ struct slob_page { }; struct page page; }; + unsigned long foo; }; static inline void struct_slob_page_wrong_size(void) { BUILD_BUG_ON(sizeof(struct slob_page) != sizeof(struct page)); } -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxxx For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>