Skip to content

Commit 9909b76

Browse files
committed
kbuild: remove redundant CONFIG_KASAN check from scripts/Makefile.kasan
Since commit e0fe0bb ("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>
1 parent 6212804 commit 9909b76

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

scripts/Makefile.kasan

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
# SPDX-License-Identifier: GPL-2.0
2-
ifdef CONFIG_KASAN
32
CFLAGS_KASAN_NOSANITIZE := -fno-builtin
43
KASAN_SHADOW_OFFSET ?= $(CONFIG_KASAN_SHADOW_OFFSET)
5-
endif
64

75
ifdef CONFIG_KASAN_GENERIC
86

0 commit comments

Comments
 (0)