From patchwork Tue Sep 28 17:49:43 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mianhan Liu X-Patchwork-Id: 12523385 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 58436C433F5 for ; Tue, 28 Sep 2021 17:50:07 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 3631C61373 for ; Tue, 28 Sep 2021 17:50:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242079AbhI1Rvp convert rfc822-to-8bit (ORCPT ); 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 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, 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