[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20190109101551.GR31517@techsingularity.net>
Date: Wed, 9 Jan 2019 10:15:51 +0000
From: Mel Gorman <mgorman@...hsingularity.net>
To: YueHaibing <yuehaibing@...wei.com>
Cc: Joonsoo Kim <iamjoonsoo.kim@....com>,
Andrew Morton <akpm@...ux-foundation.org>,
Stephen Rothwell <sfr@...b.auug.org.au>,
Vlastimil Babka <vbabka@...e.cz>,
Michal Hocko <mhocko@...e.com>, linux-mm@...ck.org,
linux-kernel@...r.kernel.org, kernel-janitors@...r.kernel.org
Subject: Re: [PATCH -next] mm, compaction: remove set but not used variables
'a, b, c'
On Wed, Jan 09, 2019 at 03:02:47AM +0000, YueHaibing wrote:
> Fixes gcc '-Wunused-but-set-variable' warning:
>
> mm/compaction.c: In function 'compact_zone':
> mm/compaction.c:2063:22: warning:
> variable 'c' set but not used [-Wunused-but-set-variable]
> mm/compaction.c:2063:19: warning:
> variable 'b' set but not used [-Wunused-but-set-variable]
> mm/compaction.c:2063:16: warning:
> variable 'a' set but not used [-Wunused-but-set-variable]
>
> This never used since 94d5992baaa5 ("mm, compaction: finish pageblock
> scanning on contention")
>
Dang. This is left-over debugging code that got accidentally merged
during a rebase. Andrew, can you pick this up as a fix to the mmotm
patch mm-compaction-finish-pageblock-scanning-on-contention.patch please?
Thanks YueHaibing.
--
Mel Gorman
SUSE Labs
Powered by blists - more mailing lists