From patchwork Wed Sep 29 05:31:09 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mianhan Liu X-Patchwork-Id: 12524669 X-Patchwork-Delegate: kuba@kernel.org Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 61BC6C433EF for ; Wed, 29 Sep 2021 05:31:45 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 3C25060F5B for ; Wed, 29 Sep 2021 05:31:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244256AbhI2FdX convert rfc822-to-8bit (ORCPT ); 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 X-Originating-IP: [10.15.44.220] Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org X-Patchwork-Delegate: kuba@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