Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp2445144pxb; Sat, 25 Sep 2021 07:30:21 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyXOyyatxxfjkd3NfY9vhIJ4sCgsk/FFcG8dzfrxK02hpJ3ZjkT8apoUOld8bWAC4qtftGG X-Received: by 2002:a92:c565:: with SMTP id b5mr13050378ilj.13.1632580221614; Sat, 25 Sep 2021 07:30:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632580221; cv=none; d=google.com; s=arc-20160816; b=YIQdVZV4NdYz57aGh33iWVevByBxA62QROMbmIMtl/+J2NxLPD9VBMLAVN0KfkYNHI 3g3BVSXLwa+TcFWOG6lSjzzA9/QA9V6rzTSWyoEIZaysMkXz+Pi3OV+C7aT9dXmjZ8BI 1Y7ux24WfnwGI9hrFtugjv+oiJA6xMdbshCGDeZmA7mIDifoCkMyo9g3CIbMkl2qLtjX FvYC4y/VjRiJllMMFWPyKbigWmonox5FBJSbl6qMuZGq23ztONZlCaQb7FW2yr45/mqi KfCYW/Pd9mETz1N24/nsGqRQ3MJpqyzmd9mDmacpaH1FOJ2qOOnQW0tWbGvDvAq3TAuT va9Q== 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=yXOs1+/TuqiBMnYoJt3d6b6TYusZoAIf/M1GQtvgW7c=; b=jFi7/SEvrByswGbPAxQmZXJQuYFcE52U7ZfcR3xZj8XyDr0hWEeQRYI3Rsz7L3TVJ6 UWAnDRtOSgRaJMhLYrwT43QnfLwNdbSOZnJWorE4O6gKhsVxGp3YaxPvS2GAPDTfhKL4 PdGag0joQ0SNf8/BQb3NBvEmYqNQ2BogAu+EtTR3jZ4XN9qHa73yGCXg0yzMKLNze60R 8zkjGssLaHbMPJaVvGXVh9M5in2oY6wf/O/iBCIJNx8UsWqxMM1pq3ad7Tjamv6+L8LO Y5B1pWOpqZ+2FNeS5RcmrtrNDVj9oLSHWYQMuyg1ZUYDPo7nt6ZlPhBG6Sw870nMuM0G UXmw== 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 g204si13813173jac.75.2021.09.25.07.30.09; Sat, 25 Sep 2021 07:30:21 -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 S245462AbhIYO3c convert rfc822-to-8bit (ORCPT + 99 others); Sat, 25 Sep 2021 10:29:32 -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: linux-kernel@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