[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220221065255.19991-1-tangmeng@uniontech.com>
Date: Mon, 21 Feb 2022 14:52:55 +0800
From: tangmeng <tangmeng@...ontech.com>
To: sj@...nel.org, akpm@...ux-foundation.org
Cc: linux-kernel@...r.kernel.org, linux-mm@...ck.org,
tangmeng <tangmeng@...ontech.com>
Subject: [PATCH] mm/damon: remove unnecessary CONFIG_DAMON option
In mm/Makefile has:
obj-$(CONFIG_DAMON) += damon/
So that we don't need 'obj-$(CONFIG_DAMON) :=' in mm/damon/Makefile,
delete it from mm/demon/Makefile.
Signed-off-by: tangmeng <tangmeng@...ontech.com>
---
mm/damon/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/mm/damon/Makefile b/mm/damon/Makefile
index 03931472991a..aebbf6c14c51 100644
--- a/mm/damon/Makefile
+++ b/mm/damon/Makefile
@@ -1,6 +1,6 @@
# SPDX-License-Identifier: GPL-2.0
-obj-$(CONFIG_DAMON) := core.o
+obj-y := core.o
obj-$(CONFIG_DAMON_VADDR) += ops-common.o vaddr.o
obj-$(CONFIG_DAMON_PADDR) += ops-common.o paddr.o
obj-$(CONFIG_DAMON_DBGFS) += dbgfs.o
--
2.20.1
Powered by blists - more mailing lists