Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp1940734pxb; Mon, 20 Sep 2021 08:35:05 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyTG8EtG6Mw4zueuLexWnNrYIjNr5EOrumX6EoCucFW8M2UgWT2Xf0lGPx+9QPU/u6+/dWL X-Received: by 2002:a17:907:20cb:: with SMTP id qq11mr28277974ejb.488.1632152104767; Mon, 20 Sep 2021 08:35:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632152104; cv=none; d=google.com; s=arc-20160816; b=FsfJs5znzcVA7OKGxHipQJlE4kAXvkImfZd9H1FgDVDjwzbdj3t2U8cqYge5fQsBag UkM7kGAY7Qm4RxLVlcc6Bw7gnTbvjFO9svocySzLpV5VvZ7DhNGC9rnSUXY3girljBdI ZHyFEv42Dxn858EOvlWd34FIwaA7VWwkjuqPOrPatiNjAMR8qRgL/16BhS15XIJ6Xk9M DXJPDwS9x8p1qBlRwaPKzFcTrgRaH1/4GbeCgIej2gQMiMgHYNx0kZh0hA63xX8ypInq DDqbPlqQg/07lWEChFPiditggC/QA1/2YuY2maf57UshdwZvFTilWeuce46R7BAzI6GW 3DMA== 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=z4vDO5g9jTr++d46Q4eGm9J4UCsLk5rZMdSSfqEWPAE=; b=ZI9jzcVJHeZnz3VQa7jpB1FTFpGMSf6H+RC6lqMQrVR/aSgwFLqGldD+4CJF/5fVNL fF5ppdRpY2KXSw5qc5h+s+s6OkdGUnOiV/G2PCln3JgYJ1IBH66JZcCwOi5WX7+evvmz wKzYey9z95lmmuDlGNcKfKTDsfHykuUEsck/Ly+fuMLIvkdZmPjF2BTQaj7K3zeW5vfe KdIe61NIdi0g5L689SAZHGq0c5Tc2lKLB5cB/KwSmcYe2AuMqZP9l0W4wCbZsIRTTamZ 4egp4nUifgktBHh75qO4cyWsCR4PAAIR56+xFtLcWl/rmDQd+SY3zQY7uIcOSdpRQjNN Ki5Q== 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 p5si16240523ejj.74.2021.09.20.08.34.40; Mon, 20 Sep 2021 08:35:04 -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 S232973AbhITLlT convert rfc822-to-8bit (ORCPT + 99 others); Mon, 20 Sep 2021 07:41:19 -0400 Received: from mail1.shanghaitech.edu.cn ([119.78.254.90]:32744 "EHLO mail.shanghaitech.edu.cn" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S232528AbhITLlT (ORCPT ); Mon, 20 Sep 2021 07:41:19 -0400 X-Greylist: delayed 456 seconds by postgrey-1.27 at vger.kernel.org; Mon, 20 Sep 2021 07:41:18 EDT Received: from [10.15.44.215] by mail.shanghaitech.edu.cn with MESSAGESEC ESMTP id 456895297546506; Mon, 20 Sep 2021 19:34:42 +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:34:40 +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_fastopen.c: remove superfluous header files from tcp_fastopen.c Date: Mon, 20 Sep 2021 19:34:16 +0800 Message-ID: <20210920113416.26545-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_fastopen.c hasn't use any macro or function declared in crypto.h, err.h, init.h, list.h, rculist.h and inetpeer.h. Thus, these files can be removed from tcp_fastopen.c safely without affecting the compilation of the net module. Signed-off-by: Mianhan Liu --- net/ipv4/tcp_fastopen.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/net/ipv4/tcp_fastopen.c b/net/ipv4/tcp_fastopen.c index 59412d635..fdbcf2a6d 100644 --- a/net/ipv4/tcp_fastopen.c +++ b/net/ipv4/tcp_fastopen.c @@ -1,13 +1,7 @@ // SPDX-License-Identifier: GPL-2.0 -#include -#include -#include #include -#include #include #include -#include -#include #include void tcp_fastopen_init_key_once(struct net *net) -- 2.25.1