Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751561AbcKFDpr (ORCPT ); Sat, 5 Nov 2016 23:45:47 -0400 Received: from conuserg-08.nifty.com ([210.131.2.75]:51711 "EHLO conuserg-08.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751008AbcKFDpp (ORCPT ); Sat, 5 Nov 2016 23:45:45 -0400 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-08.nifty.com uA63jZA6004311 X-Nifty-SrcIP: [111.169.71.157] From: Masahiro Yamada To: Martin Schwidefsky , linux-s390@vger.kernel.org Cc: Masahiro Yamada , Christian Borntraeger , Heiko Carstens , linux-kernel@vger.kernel.org Subject: [PATCH 1/2] s390: delete unneeded #include from facilities_src.h Date: Sun, 6 Nov 2016 12:45:27 +0900 Message-Id: <1478403928-20799-1-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 1.9.1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 981 Lines: 33 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 --- 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 3b758f6..8b1a692 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; -- 1.9.1