[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <xa1tr4nxv9ud.fsf@mina86.com>
Date: Tue, 13 Nov 2012 15:47:06 +0100
From: Michal Nazarewicz <mina86@...a86.com>
To: Thierry Reding <thierry.reding@...onic-design.de>,
Andrew Morton <akpm@...ux-foundation.org>
Cc: Mel Gorman <mgorman@...e.de>, Minchan Kim <minchan@...nel.org>,
Marek Szyprowski <m.szyprowski@...sung.com>,
linux-mm@...ck.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] mm: Remove unused variable in alloc_contig_range()
On Mon, Nov 12 2012, Thierry Reding wrote:
> Commit 872ca38f7afd9566bf2f88b95616f7ab71b50064 removed the last
> reference to this variable but not the variable itself.
>
> Signed-off-by: Thierry Reding <thierry.reding@...onic-design.de>
Acked-by: Michal Nazarewicz <mina86@...a86.com>
I could have sworn that someone (Marek?) sent that patch already.
> ---
> mm/page_alloc.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/mm/page_alloc.c b/mm/page_alloc.c
> index 6b990cb..71933dd 100644
> --- a/mm/page_alloc.c
> +++ b/mm/page_alloc.c
> @@ -5822,7 +5822,6 @@ static int __alloc_contig_migrate_range(struct compact_control *cc,
> int alloc_contig_range(unsigned long start, unsigned long end,
> unsigned migratetype)
> {
> - struct zone *zone = page_zone(pfn_to_page(start));
> unsigned long outer_start, outer_end;
> int ret = 0, order;
--
Best regards, _ _
.o. | Liege of Serenely Enlightened Majesty of o' \,=./ `o
..o | Computer Science, Michał “mina86” Nazarewicz (o o)
ooo +----<email/xmpp: mpn@...gle.com>--------------ooO--(_)--Ooo--
Content of type "application/pgp-signature" skipped
Powered by blists - more mailing lists