Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp2499155pxb; Tue, 21 Sep 2021 00:49:50 -0700 (PDT) X-Google-Smtp-Source: ABdhPJywE34tJyFxej4zsbdVsb2pmEHgwyfDNcI/eXSSbt2bZjT17bfWmZXX44gcL1ysUzJ880fZ X-Received: by 2002:a17:906:4fd6:: with SMTP id i22mr32875825ejw.92.1632210589936; Tue, 21 Sep 2021 00:49:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632210589; cv=none; d=google.com; s=arc-20160816; b=nQz0dv9tmbYG8PKYrfmu+mTtujhUDrmaNBXPEka4i1CKeO/jU477+oezbJ9MEfIJFC CZ2/FeHrkriebyuEOrF1gA9cPDYNPEBqW2PY7K3gAJ4FOE6apTWF7KLmmzUBmLJZfz64 YDIsgvqqovomqfiXZ6xc6CGB6ws6bsx1TCiaMSKsiYUpSHbgJ8jEdBdL66zzAC2O/i/d zR2jA0Fdh8j0Ns4JMfX0a0vNr6ccKfcFdLhF/2nkXaJpgDvvo3QTygZGpWL4/s4wZMHV Ua9BJJiP4m8QzO3TzVpyP1fJzB4yDyKIfVIp9u3I/b41/SLbwv5lTj5XHAGpEwTdHzTs VAPQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=5jbCtph0gp2qdfwUyu+SVh8o9MMgBTFifUyRmoii8QY=; b=McroObMhYU5LVDp2hV43B2m5DsVNyD45+mpkyk3FbQl+e+OVEDtPC4vQN8swZSd3t3 iwzAjHEMAfF0N+g8U6F1tLMfZbFaT45/yT3WQreIVuexBvLkmzD60BF5PU0CYhHM+GRT PbNcaNCKu9XuEDXQ40cQycvlQjA/B/YV4DSqhKVqkjK5FA7U5UU4qPTQvEHkHMcbdF8g Jf7MUw1oSoRd41XAGwI6UReYjK13Hst78oQCTqfdrsaFxYAf/jU57cNAq1NI8APPDgin 3+x5dGqOM57rVizjNg9UMgWWB6ILOYK5TIzJhizVHR4R99oVWkNOjqYbJPfnTjHvnVkM l0KQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=shanghaitech.edu.cn Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ar23si19564072ejc.736.2021.09.21.00.49.26; Tue, 21 Sep 2021 00:49:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=shanghaitech.edu.cn Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230413AbhIUHtj convert rfc822-to-8bit (ORCPT + 99 others); Tue, 21 Sep 2021 03:49:39 -0400 Received: from mail1.shanghaitech.edu.cn ([119.78.254.90]:32535 "EHLO mail.shanghaitech.edu.cn" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S230172AbhIUHti (ORCPT ); Tue, 21 Sep 2021 03:49:38 -0400 Received: from [10.15.44.216] by mail.shanghaitech.edu.cn with MESSAGESEC ESMTP id 456895189764503; Tue, 21 Sep 2021 15:48:00 +0800 (CST) Received: from DESKTOP-U066CHB.localdomain (10.15.44.220) by smtp.shanghaitech.edu.cn (10.15.44.216) with Microsoft SMTP Server (TLS) id 14.3.399.0; Tue, 21 Sep 2021 15:48:01 +0800 From: Mianhan Liu To: "David S. Miller" , Hideaki YOSHIFUJI , David Ahern CC: Jakub Kicinski , , , Mianhan Liu Subject: [PATCH -next v2] net/ipv4/sysctl_net_ipv4.c: remove superfluous header files from sysctl_net_ipv4.c Date: Tue, 21 Sep 2021 15:47:51 +0800 Message-ID: <20210921074751.6182-1-liumh1@shanghaitech.edu.cn> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8BIT Content-Type: text/plain X-Originating-IP: [10.15.44.220] Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org sysctl_net_ipv4.c hasn't use any macro or function declared in igmp.h, inetdevice.h, mm.h, module.h, nsproxy.h, swap.h, inet_frag.h, route.h and snmp.h. Thus, these files can be removed from sysctl_net_ipv4.c safely without affecting the compilation of the net module. Signed-off-by: Mianhan Liu --- net/ipv4/sysctl_net_ipv4.c | 9 --------- 1 file changed, 9 deletions(-) diff --git a/net/ipv4/sysctl_net_ipv4.c b/net/ipv4/sysctl_net_ipv4.c index 6f1e64d49..4680268f2 100644 --- a/net/ipv4/sysctl_net_ipv4.c +++ b/net/ipv4/sysctl_net_ipv4.c @@ -6,25 +6,16 @@ * Added /proc/sys/net/ipv4 directory entry (empty =) ). [MS] */ -#include -#include #include -#include -#include #include #include #include -#include -#include -#include #include #include #include -#include #include #include #include -#include #include #include #include -- 2.25.1