aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorMasahiro Yamada2020-09-10 22:44:28 +0900
committerMasahiro Yamada2020-09-25 00:36:49 +0900
commit9909b7681222299dcb6f3b0613c30a65498b6c72 (patch)
treeb4f7f9ce56ef3dc3de96ee8204b8c3216af73bc6 /scripts
parent6212804f2d78e86f15dba5b46a4065cbf1403cde (diff)
kbuild: remove redundant CONFIG_KASAN check from scripts/Makefile.kasan
Since commit e0fe0bbe57b8 ("kbuild: include scripts/Makefile.* only when relevant CONFIG is enabled"), this file is included only when CONFIG_KASAN=y. This ifdef is redundant. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Acked-by: Marco Elver <elver@google.com>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/Makefile.kasan2
1 files changed, 0 insertions, 2 deletions
diff --git a/scripts/Makefile.kasan b/scripts/Makefile.kasan
index f4beee1b0013..1532f1a41a8f 100644
--- a/scripts/Makefile.kasan
+++ b/scripts/Makefile.kasan
@@ -1,8 +1,6 @@
# SPDX-License-Identifier: GPL-2.0
-ifdef CONFIG_KASAN
CFLAGS_KASAN_NOSANITIZE := -fno-builtin
KASAN_SHADOW_OFFSET ?= $(CONFIG_KASAN_SHADOW_OFFSET)
-endif
ifdef CONFIG_KASAN_GENERIC