* [PATCH] mm: Remove unused variable in alloc_contig_range()
@ 2012-11-12 8:45 Thierry Reding
2012-11-13 14:47 ` Michal Nazarewicz
0 siblings, 1 reply; 2+ messages in thread
From: Thierry Reding @ 2012-11-12 8:45 UTC (permalink / raw)
To: Andrew Morton
Cc: Mel Gorman, Minchan Kim, Marek Szyprowski, linux-mm, linux-kernel
Commit 872ca38f7afd9566bf2f88b95616f7ab71b50064 removed the last
reference to this variable but not the variable itself.
Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de>
---
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;
--
1.8.0
--
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>
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] mm: Remove unused variable in alloc_contig_range()
2012-11-12 8:45 [PATCH] mm: Remove unused variable in alloc_contig_range() Thierry Reding
@ 2012-11-13 14:47 ` Michal Nazarewicz
0 siblings, 0 replies; 2+ messages in thread
From: Michal Nazarewicz @ 2012-11-13 14:47 UTC (permalink / raw)
To: Thierry Reding, Andrew Morton
Cc: Mel Gorman, Minchan Kim, Marek Szyprowski, linux-mm, linux-kernel
[-- Attachment #1: Type: text/plain, Size: 1160 bytes --]
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@avionic-design.de>
Acked-by: Michal Nazarewicz <mina86@mina86.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@google.com>--------------ooO--(_)--Ooo--
[-- Attachment #2.1: Type: text/plain, Size: 0 bytes --]
[-- Attachment #2.2: Type: application/pgp-signature, Size: 835 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-11-13 14:47 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-12 8:45 [PATCH] mm: Remove unused variable in alloc_contig_range() Thierry Reding
2012-11-13 14:47 ` Michal Nazarewicz
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).