From patchwork Sun Nov 6 03:45:27 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 80956 Delivered-To: patch@linaro.org Received: by 10.140.97.165 with SMTP id m34csp451058qge; Sat, 5 Nov 2016 20:46:12 -0700 (PDT) X-Received: by 10.98.197.134 with SMTP id j128mr1643541pfg.78.1478403971995; Sat, 05 Nov 2016 20:46:11 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f19si25157681pgk.152.2016.11.05.20.46.11; Sat, 05 Nov 2016 20:46:11 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@nifty.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751562AbcKFDpr (ORCPT + 27 others); 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 Received: from grover.sesame (FL1-111-169-71-157.osk.mesh.ad.jp [111.169.71.157]) (authenticated) by conuserg-08.nifty.com with ESMTP id uA63jZA6004311; Sun, 6 Nov 2016 12:45:38 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-08.nifty.com uA63jZA6004311 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1478403939; bh=N0n8NS4EzFIbdCFErOCIU4gSqOJzCY0KQUmHRPflpaM=; h=From:To:Cc:Subject:Date:From; b=T64wALYAzoy+1L7/BtL23/36kPnaWw2Ax30UHdrcEi417FGyylYkX1Hewfi0BwBjL TEOuhO78SpnKF2z1Bv7mA/xbWb2EGqhxUmOJeuO++RA1yjLMfdi57PrKZ36bLFC7/T stpXOf9esmoHkkmSWogHQa1zLO+VlAopbWXLZc4Gpi+zMQqhguJHEbveGY4/b8v7cG JY8kmZV14Ph9SQeGLGks/eiM4xkxT9Vx+s3jX/JMod+suk797jGGPzL3QzYQItBLFT OSLlBEeBN+36XrbKp9E3fXi/4rfcUPrvo2tHaHMJcZEVkOngKN+7CfaDPmqAD0H1/e o1qbFm1VZGlSQ== 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 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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(-) -- 1.9.1 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;