Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp2251499pxb; Mon, 20 Sep 2021 16:39:09 -0700 (PDT) X-Google-Smtp-Source: ABdhPJylydXA/tn1gDxF8b6CKg5adGjcxK64lurcTxP2EQvg2/g8CtPPFrknAm7fyhWVVCWa8X6h X-Received: by 2002:a92:2c0d:: with SMTP id t13mr18809959ile.99.1632181148934; Mon, 20 Sep 2021 16:39:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632181148; cv=none; d=google.com; s=arc-20160816; b=b2ykifs8DVH8hRgsWJAYeUz9vYs+nIWiPAApIF23OKourdJOFRhpowrLSmtURJO4G8 5KiavjL2Z5/hDRvJx0CrQoZMrcuXQn/sfLGQy7AU40qgCDpom+lRqQGOTRc2ZnpirNsL 0ijF97qQmr7cBALn1lPFdsy69u8xWZfzVv2eBsUG+iX1sQoSvI/+voOEXlG856lSEeVo zl8v6lebgNNQ9ILd5+CqEpzERlU7tQjdMG64sSrQX357bNB60aqZSMZ3oEhbDkW/BTBA LgoNewLdIRcdEpVzjSfq1/BSxYAX+U1Kpk7GbmM1U4e9MSrbPTjcDbnFDsHzokkUSBm/ X65A== 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=TLUeTgkCSs825FBJiVlQVkyIWTDItaWsFczrB53/rvg=; b=wHC5T+ArC6C1qZTejozJ3QRfaLVA3qxqUGdqYdjr4uyU93SkRNU0jianV76Ic815eE JpXHdT/rcqIgaMU1qlSbdlXLx81C3Msn2L9nBx7huhy3FxaeVdn7f+Ed8Sk/SWK0GldR +xh+0Q5g22V5aIANJfBFuMxEkCSaJdAsgJakjegkL07gEeI1l0I1h3dSKA8SEcgA8Lox byrwZEaQOz+rKoNKIpJVWFwqa7/SIz2BrTVOiW2g6Dq1etuooz4lva2HNMlfALkiDus+ l5XFoVB5LCDxvhgJaushp7WyaC1Zz63o6IpN+czVf5zPRNJ+lshzSzYON8tVBt+4iurf G8CA== 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 v11si15306435jas.4.2021.09.20.16.38.58; Mon, 20 Sep 2021 16:39:08 -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 S239629AbhITNn6 convert rfc822-to-8bit (ORCPT + 99 others); Mon, 20 Sep 2021 09:43:58 -0400 Received: from mail1.shanghaitech.edu.cn ([119.78.254.90]:31900 "EHLO mail.shanghaitech.edu.cn" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S232644AbhITNnz (ORCPT ); Mon, 20 Sep 2021 09:43:55 -0400 Received: from [10.15.44.216] by mail.shanghaitech.edu.cn with MESSAGESEC ESMTP id 456895189764503; Mon, 20 Sep 2021 21:42:07 +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; Mon, 20 Sep 2021 21:42:09 +0800 From: Mianhan Liu To: "David S. Miller" , Hideaki YOSHIFUJI , David Ahern CC: Jakub Kicinski , , , Mianhan Liu Subject: [PATCH -next] net/ipv4/sysctl_net_ipv4.c: remove superfluous header files from sysctl_net_ipv4.c Date: Mon, 20 Sep 2021 21:42:00 +0800 Message-ID: <20210920134200.31481-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 mm.h, module.h, igmp.h, inetdevice.h, swap.h, slab.h, nsproxy.h, snmp.h, route.h and inet_frag.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 | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/net/ipv4/sysctl_net_ipv4.c b/net/ipv4/sysctl_net_ipv4.c index 6f1e64d49..f8e39d00b 100644 --- a/net/ipv4/sysctl_net_ipv4.c +++ b/net/ipv4/sysctl_net_ipv4.c @@ -6,25 +6,15 @@ * 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