Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp1884670pxb; Mon, 20 Sep 2021 07:29:56 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxaoaexB0KAdM6GodBR+5rfre+5ivSWyGHwAp0efxuAGjNmDtPE6x5WyOd2VFlt6BvsZW6E X-Received: by 2002:a6b:cd01:: with SMTP id d1mr15958578iog.88.1632148195945; Mon, 20 Sep 2021 07:29:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632148195; cv=none; d=google.com; s=arc-20160816; b=pa6DZCr3HkBJxXRqVikC7ouw9XuUpIcpixuob0qbu4FgJL9ab7AfggjJAvobaSNwkS vZNwyK0fzLB8deKk/5kwWlxtj+83O+8P5BM/jeV+JVkCeGbuapWJHnbNHBEG92XU3HRR wWTnB6ymMmKl46avj+TN6BQgmZbc2CX8smqnFsTr3JJWPZjV2LP66xP8MMjCo4IgvVhH h79F5krY+1U7kos/CrrZds3RVr4R6xaVhbAXYx6QDKGwXVSz8WIbHGAE4Kayex8R8SVk G7/lw7jCm+WGZfGHU1i1eF+Rw7kxGirYoYa6mQe0DwuATXct4GcofPBm9SJ9TjFpV/04 mwVA== 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=0LAUJhopZ30SvZcHk6ytodUI5Z1I2nkGzWZUCxG1xYo=; b=tlMfFd4zjC6Q8gVIGfi9vSDenH3tz31EyQ1BWDpYZRkwAMgB15OXa7eGAPpdj9ztVF jyKvQWlgd6E+P6laNyuyYaM0sx2zB/jP6aHt7Y12eF9BpvZAUSyH4JWU5L+bxlbazl3k yusCZJMwGp5ai3hLEzYEXottE5JpBfZWIgkZ2Pa8BwxDIHrygeloGh+6zUqcodPRmp27 KAjFBodCT7zmQvxaOJvvV7gx4qNEa6fxT4ngJusNpHF9jt2DyA1zraoiywn+HtnxqD08 a5onLaZcmr05ZucTS9gUwlsgfa6ATjDWpQCpGF22UbUVK91CdYA8HB8ED+AFHwbqsVhQ EgmQ== 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 m16si14228781jat.53.2021.09.20.07.29.43; Mon, 20 Sep 2021 07:29:55 -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 S236939AbhITLdo convert rfc822-to-8bit (ORCPT + 99 others); Mon, 20 Sep 2021 07:33:44 -0400 Received: from mail1.shanghaitech.edu.cn ([119.78.254.90]:32085 "EHLO mail.shanghaitech.edu.cn" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S231279AbhITLdn (ORCPT ); Mon, 20 Sep 2021 07:33:43 -0400 Received: from [10.15.44.215] by mail.shanghaitech.edu.cn with MESSAGESEC ESMTP id 456895189764503; Mon, 20 Sep 2021 19:32:06 +0800 (CST) Received: from DESKTOP-U066CHB.localdomain (10.15.44.220) by smtp.shanghaitech.edu.cn (10.15.44.215) with Microsoft SMTP Server (TLS) id 14.3.399.0; Mon, 20 Sep 2021 19:32:08 +0800 From: Mianhan Liu To: "David S. Miller" , Hideaki YOSHIFUJI , David Ahern CC: Jakub Kicinski , , , Mianhan Liu Subject: [PATCH -next] net/ipv4/route.c: remove superfluous header files from route.c Date: Mon, 20 Sep 2021 19:31:37 +0800 Message-ID: <20210920113137.25121-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 route.c hasn't use any macro or function declared in uaccess.h, types.h, string.h, sockios.h, times.h, protocol.h, arp.h and l3mdev.h. Thus, these files can be removed from route.c safely without affecting the compilation of the net module. Signed-off-by: Mianhan Liu --- net/ipv4/route.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/net/ipv4/route.c b/net/ipv4/route.c index d6899ab5f..0b4103b1e 100644 --- a/net/ipv4/route.c +++ b/net/ipv4/route.c @@ -61,15 +61,11 @@ #define pr_fmt(fmt) "IPv4: " fmt #include -#include #include -#include #include #include #include -#include #include -#include #include #include #include @@ -84,20 +80,17 @@ #include #include #include -#include #include #include #include #include #include -#include #include #include #include #include #include #include -#include #include #include #include @@ -109,7 +102,6 @@ #endif #include #include -#include #include "fib_lookup.h" -- 2.25.1