From mboxrd@z Thu Jan 1 00:00:00 1970 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 9D336C433F5 for ; Sat, 25 Sep 2021 14:27:59 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 739F86108C for ; Sat, 25 Sep 2021 14:27:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1343677AbhIYO3d convert rfc822-to-8bit (ORCPT ); Sat, 25 Sep 2021 10:29:33 -0400 Received: from mail.shanghaitech.edu.cn ([119.78.254.11]:59988 "EHLO mail.shanghaitech.edu.cn" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233738AbhIYO3c (ORCPT ); Sat, 25 Sep 2021 10:29:32 -0400 Received: from [10.15.44.215] by mail.shanghaitech.edu.cn with MESSAGESEC ESMTP id 480405297546506; Sat, 25 Sep 2021 22:27:41 +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; Sat, 25 Sep 2021 22:27:41 +0800 From: Mianhan Liu To: Eric Dumazet , "David S. Miller" , Hideaki YOSHIFUJI , David Ahern CC: Jakub Kicinski , , , Mianhan Liu Subject: [PATCH -next] net/ipv4/tcp_metrics.c: remove superfluous header files from tcp_metrics.c Date: Sat, 25 Sep 2021 22:27:33 +0800 Message-ID: <20210925142733.24293-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: netdev@vger.kernel.org tcp_metrics.c hasn't use any macro or function declared in rcupdate.h spinlock.h, module.h, cache.h, hash.h and vmalloc.h. Thus, these files can be removed from tcp_metrics.c safely without affecting the compilation of the net module. Signed-off-by: Mianhan Liu --- net/ipv4/tcp_metrics.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/net/ipv4/tcp_metrics.c b/net/ipv4/tcp_metrics.c index 0588b004d..7b819530d 100644 --- a/net/ipv4/tcp_metrics.c +++ b/net/ipv4/tcp_metrics.c @@ -1,15 +1,9 @@ // SPDX-License-Identifier: GPL-2.0 -#include -#include #include -#include -#include #include #include #include -#include #include -#include #include #include -- 2.25.1