Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp5117590pxb; Tue, 28 Sep 2021 10:52:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwC3eyop3uYLJzs90aBtoziykQyip4A318FjEiQnzSP/YQ8x9dG9XdPdlfMVvBE9EPGYaTE X-Received: by 2002:a50:e10d:: with SMTP id h13mr9099562edl.77.1632851552322; Tue, 28 Sep 2021 10:52:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632851552; cv=none; d=google.com; s=arc-20160816; b=icxRwG7WHwIO8ujq99FGYGmJabzDSDpUlPpl9KIMQiBV1ceDmaKspT4zsKkk6FhhHX PHu4geL+8ro3XuEij7EPjQ7rU1MFR1u55gwWuAYuI8eg9BfsDJpqJ4Iz5MkZ9frNI6UG 2T2S9NzgAQJBm7axbJ4PXy2ePxbXQCLptzM1w6ivDl7N0aRZEcUL3afqRCqiZiW97em/ QWb1qAXovt4pa1+sbfUYL5KXptkQRWrmujZCqwZv6f9fm2SpiZMJKIvoFpTBTTSEwI3E E3nxuynudCAfUn8onW6r3jYbXk6rhoyaAjLsgZq8JKZHhZ747sT8dpAlv7i5tLxbyiym ukZA== 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=qw9qVJ4JLtg3bpQ2n7Bj42GozTflEzYkWt34Rzv7Ark=; b=mOlzc7vT+JRdHZE11iHO0ApG9tndopN04Gj+YstQF/HaSb1Bg1MEF2PIydF/et4XWX lFG5lDRwheJrTyz53mDE8VNXFkoL3r7e/gyi/+RVBxKZJdZyZF8k1Odu/KJhRpr/k+OT sAKl1lEkWSD1qaVC+2eG2BTT5UXcUeTNxOB1aOi8Lo07QSbB7jb+lAoq1DXB3lgfVgIv swA+Vq2fhc4F9ZWMdkPwUD9p4CKNoowWJNcyqlDQdQzL0hc0377lseW+FXBXWh8U47SS MCLdNTz+oSoSF9szUDQ19G9bmJwfUTvKTRHfx/MZV0VxG0RZn915UvolpsSnEBliat0Y 8XbA== 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 j30si23240009ejj.467.2021.09.28.10.52.07; Tue, 28 Sep 2021 10:52:32 -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 S242071AbhI1Rvp convert rfc822-to-8bit (ORCPT + 99 others); Tue, 28 Sep 2021 13:51:45 -0400 Received: from mail1.shanghaitech.edu.cn ([119.78.254.90]:44026 "EHLO mail.shanghaitech.edu.cn" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S241873AbhI1Rvo (ORCPT ); Tue, 28 Sep 2021 13:51:44 -0400 Received: from [10.15.44.215] by mail.shanghaitech.edu.cn with MESSAGESEC ESMTP id 456895189764503; Wed, 29 Sep 2021 01:49:55 +0800 (CST) Received: from DESKTOP-FOJ6ELG.localdomain (10.15.44.220) by smtp.shanghaitech.edu.cn (10.15.44.215) with Microsoft SMTP Server (TLS) id 14.3.399.0; Wed, 29 Sep 2021 01:49:55 +0800 From: Mianhan Liu To: "David S. Miller" , Hideaki YOSHIFUJI , David Ahern CC: Jakub Kicinski , , , Mianhan Liu Subject: [PATCH -next] net/ipv4/datagram.c: remove superfluous header files from datagram.c Date: Wed, 29 Sep 2021 01:49:43 +0800 Message-ID: <20210928174943.8148-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 datagram.c hasn't use any macro or function declared in linux/ip.h, and linux/module.h. Thus, these files can be removed from datagram.c safely without affecting the compilation of the net/ipv4 module Signed-off-by: Mianhan Liu --- net/ipv4/datagram.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/net/ipv4/datagram.c b/net/ipv4/datagram.c index 4a8550c49..2dc5f1890 100644 --- a/net/ipv4/datagram.c +++ b/net/ipv4/datagram.c @@ -8,8 +8,6 @@ */ #include -#include -#include #include #include #include -- 2.25.1