Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp296346pxb; Tue, 28 Sep 2021 22:33:27 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzlCmP1qgYR2AKqvSqx1xJBRkzbMasopFX4gFAWqgx+ZrAm5xXpykPWPPka0HQyIKKpjWeU X-Received: by 2002:a17:90a:a417:: with SMTP id y23mr1295746pjp.125.1632893607432; Tue, 28 Sep 2021 22:33:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632893607; cv=none; d=google.com; s=arc-20160816; b=KLzGtSVYOpxQfqVDONBMfT29a2qzcO8fD19RzGGVs/fX0lUZARqyt56BiENvVzZ0OJ J2Awer05UfZoAp7gsDSmt9Ao1rwwF3FyJde9H5xXecAzj64Bs5apkt3PRR/kiubGV8Nt OOo5fYUlDfCxCTNm1ePtR4Q2z9auwgrlJTtkWER03LRNTgiDkwPXwLw//PH9nzxIOy2L tKjC8IfyVRegUbQe2CIOOesjIxNYjdd0vSyfb1S7S4bmnHy0JQq6mmA7FkInd1VgV4Qc zJjXHZgSMCKJhHm4XLWYxo9FkV0/E2r29dW2Z8lrhdkLyZF+PciKapftDxAynPaGLAE1 tIcw== 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=bWDWguZ74nltsz0CWR19at1jUy31slvcmDaAuWLeO7w=; b=Qea/puyoFvKbzI343Pf7r48JOL/toEQy/5gDA8ZBICs4eND9+cxaGL+DxhMXEoH19+ woJnYV2pyVW1kshyKJjGUX71A8hQbR/AbUvyRSYM1tAJPkXwCI8PmjLKWocVCrTwx3Hq T9BubbnPsRc2crbflf41fvnyMUQFLZugFP2pv7x6+tbaTWoLL0UW5CUDC/RmzvTduajd p9hX0UD3nniqc5+R6zTeqAd3E8S0iAFcDfqKEjfwIItpxTq85WwaKE+ZirjO2De5S3gK fLj8kTnA6GsFivVpCmaJiUXKb3hlE6xZy1HdtvZgkAZ1mzxAjz6Z+WtFOVxT2C7/oxT6 F+gQ== 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 s3si455587pjm.138.2021.09.28.22.33.12; Tue, 28 Sep 2021 22:33:27 -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 S244253AbhI2FdX convert rfc822-to-8bit (ORCPT + 99 others); Wed, 29 Sep 2021 01:33:23 -0400 Received: from mail1.shanghaitech.edu.cn ([119.78.254.90]:44251 "EHLO mail.shanghaitech.edu.cn" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S243962AbhI2FdW (ORCPT ); Wed, 29 Sep 2021 01:33:22 -0400 Received: from [10.15.44.215] by mail.shanghaitech.edu.cn with MESSAGESEC ESMTP id 456895189764503; Wed, 29 Sep 2021 13:31:32 +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 13:31:32 +0800 From: Mianhan Liu To: "David S. Miller" , Hideaki YOSHIFUJI , David Ahern , Jakub Kicinski CC: , , Mianhan Liu Subject: [PATCH -next -v2] net/ipv4/datagram.c: remove superfluous header files from datagram.c Date: Wed, 29 Sep 2021 13:31:09 +0800 Message-ID: <20210929053109.23979-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. 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 | 1 - 1 file changed, 1 deletion(-) diff --git a/net/ipv4/datagram.c b/net/ipv4/datagram.c index 4a8550c49..48f337ccf 100644 --- a/net/ipv4/datagram.c +++ b/net/ipv4/datagram.c @@ -9,7 +9,6 @@ #include #include -#include #include #include #include -- 2.25.1