From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9B682C55185 for ; Wed, 22 Apr 2020 12:52:29 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 7D4152087E for ; Wed, 22 Apr 2020 12:52:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726876AbgDVMwH (ORCPT ); Wed, 22 Apr 2020 08:52:07 -0400 Received: from mga12.intel.com ([192.55.52.136]:14544 "EHLO mga12.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726002AbgDVMwG (ORCPT ); Wed, 22 Apr 2020 08:52:06 -0400 IronPort-SDR: 6IG2ise3w5uafIp7+/xbqPfVttTgnN6k9dsnsBpnim2UI3xK+OVGZ8N+3r8oxxzgcwaPi/JCgV qXol+IwNDvbg== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Apr 2020 05:52:06 -0700 IronPort-SDR: sQvgtQYMbSqBBUPqB/gmsyc3/UNRuDktvZevkccgLnGp51k4Qsy9iib+0rVCcpuPxHM6F7eKDv zC3WfqdHEfHw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.72,414,1580803200"; d="scan'208";a="365666855" Received: from black.fi.intel.com ([10.237.72.28]) by fmsmga001.fm.intel.com with ESMTP; 22 Apr 2020 05:52:04 -0700 Received: by black.fi.intel.com (Postfix, from userid 1003) id 882AD578; Wed, 22 Apr 2020 15:52:03 +0300 (EEST) From: Andy Shevchenko To: Andrew Morton , linux-kernel@vger.kernel.org, Steven Rostedt , Rasmus Villemoes , Joe Perches Cc: Andy Shevchenko Subject: [PATCH v4 2/7] kernel.h: Drop unneeded inclusion from other headers Date: Wed, 22 Apr 2020 15:51:56 +0300 Message-Id: <20200422125201.37618-2-andriy.shevchenko@linux.intel.com> X-Mailer: git-send-email 2.26.1 In-Reply-To: <20200422125201.37618-1-andriy.shevchenko@linux.intel.com> References: <20200422125201.37618-1-andriy.shevchenko@linux.intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org There is no evidence we need kernel.h inclusion in certain headers. Drop unneeded inclusion from other headers. Signed-off-by: Andy Shevchenko --- v4: new patch include/linux/rwsem.h | 1 - include/linux/spinlock.h | 1 - 2 files changed, 2 deletions(-) diff --git a/include/linux/rwsem.h b/include/linux/rwsem.h index 7e5b2a4eb5606..03637adbd8b59 100644 --- a/include/linux/rwsem.h +++ b/include/linux/rwsem.h @@ -11,7 +11,6 @@ #include #include -#include #include #include #include diff --git a/include/linux/spinlock.h b/include/linux/spinlock.h index d3770b3f9d9a9..6c3789686bab8 100644 --- a/include/linux/spinlock.h +++ b/include/linux/spinlock.h @@ -53,7 +53,6 @@ #include #include #include -#include #include #include #include -- 2.26.1