From: Marek Szyprowski Date: Thu, 29 Nov 2012 03:17:30 +0000 (+1100) Subject: mm: cma: remove watermark hacks (fix) X-Git-Tag: next-20121205~1^2~288 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=ec9dd9b7c978291ffc206ff18138329d25ffbd75;p=karo-tx-linux.git mm: cma: remove watermark hacks (fix) mm/page_alloc.c: In function `alloc_contig_range': mm/page_alloc.c:5825:15: warning: unused variable `zone' [-Wunused-variable] Signed-off-by: Marek Szyprowski Signed-off-by: Andrew Morton --- diff --git a/mm/page_alloc.c b/mm/page_alloc.c index 9320cba4aa88..dc2abffca944 100644 --- a/mm/page_alloc.c +++ b/mm/page_alloc.c @@ -5838,7 +5838,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;