From 72cc9918ef673a7f6561ae26cf6495047f601e7b Mon Sep 17 00:00:00 2001 From: Masahiro Yamada Date: Sun, 6 Nov 2016 12:45:27 +0900 Subject: [PATCH] s390: delete unneeded #include from facilities_src.h The header facilities_src.h is only included from gen_facilities.c and the tool is compiled with the following extra options: HOSTCFLAGS_gen_facilities.o += -Wall $(LINUXINCLUDE) Please note $(LINUXINCLUDE) is expanded into build options including: -include $(srctree)/include/linux/kconfig.h So, the Makefile always forces the tool to include kconfig.h, i.e., the #include directive in the header is redundant. Signed-off-by: Masahiro Yamada Acked-by: Heiko Carstens Signed-off-by: Martin Schwidefsky --- arch/s390/include/asm/facilities_src.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/s390/include/asm/facilities_src.h b/arch/s390/include/asm/facilities_src.h index 3b758f66e48b..8b1a692e7d25 100644 --- a/arch/s390/include/asm/facilities_src.h +++ b/arch/s390/include/asm/facilities_src.h @@ -6,8 +6,6 @@ #error "This file can only be included by gen_facilities.c" #endif -#include - struct facility_def { char *name; int *bits; -- 2.20.1