Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp2264930pxb; Mon, 20 Sep 2021 17:04:50 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy+sJX82ACTfRtswT0NO1ti7U3svfq2539qw0cF4wGDACZW3zGXLOAm918emiqQx7hOwSU7 X-Received: by 2002:a6b:c3cb:: with SMTP id t194mr20958596iof.50.1632182690675; Mon, 20 Sep 2021 17:04:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632182690; cv=none; d=google.com; s=arc-20160816; b=lAiaeYSp7Q67ipvktfBjgRfuz6K3M0hFc6FN610lSX5osWJdRwKJJ4MT6DE/gtrKyd hWKlhWErZoYOMsk9UQL+AUO/8fIbZheFmhobO0FRB7QEpXXgbtBIfpF/vvV2isrtxp8O vgOISyE9iSgoP+UHbmzHuOX/fZ7saT2WlBfb53xhjUl9J71MmFKYW8UpKWAjHg0+gYWh HPGcdX0OUh943YZj4GDt9QDbCeffO9+8eh+JfK15CrTzOsFyN8dcf3g2ZrRYw1GJTSy2 2U1mRg+MIxeQyLSuP58IiEvwtdYty9H8Gmo1T6aeWn4pPHf0yp04kIOUEelOs1+jJADN 9ESw== 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=5bF+KmzTEJKeinvzMWdk8/fB+qM7gX17JJ/6tTPJDMA=; b=H0UVaf6lzB1/KEyty4N9Su1N2QW+4LRruT5uZ1gyjvlYqj9qa+dqdV2EIeFbNkvDc4 qa+aEH1sh5vyqUH5hJfepf50SeeNpNSxpSRlUn0z6VyFdwTpMUg71ui9f4rEQuH0PMdJ Kf63JLTncjU2NCTBB+cAlY/3Ev0vzxz27wSQvFWHIEcjDKzpx/btRPYNQ/sO0KNqty4U RHDq4Bzm1La/PLpHCpuu9L2kbJaywM/ifJoNRX8mASszB3CB9egvqnmD1STCX86bTN+o r6RnrxmYQN0x/leLS9VuCvl+0SfFbFu8QPbJrD5ph2ZO9DmcaC8DHs3F2UMiyC96tI2S XfIw== 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 n2si17410322jaj.42.2021.09.20.17.04.39; Mon, 20 Sep 2021 17:04:50 -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 S240303AbhITOSD convert rfc822-to-8bit (ORCPT + 99 others); Mon, 20 Sep 2021 10:18:03 -0400 Received: from mail.shanghaitech.edu.cn ([119.78.254.11]:52965 "EHLO mail.shanghaitech.edu.cn" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240291AbhITOR6 (ORCPT ); Mon, 20 Sep 2021 10:17:58 -0400 Received: from [10.15.44.216] by mail.shanghaitech.edu.cn with MESSAGESEC ESMTP id 480405297546506; Mon, 20 Sep 2021 22:16:10 +0800 (CST) Received: from DESKTOP-U066CHB.localdomain (10.15.44.220) by smtp.shanghaitech.edu.cn (10.15.44.216) with Microsoft SMTP Server (TLS) id 14.3.399.0; Mon, 20 Sep 2021 22:16:09 +0800 From: Mianhan Liu To: Eric Dumazet , "David S. Miller" , Hideaki YOSHIFUJI , David Ahern CC: Jakub Kicinski , , , Mianhan Liu Subject: [PATCH -next] net/ipv4/syncookies.c: remove superfluous header files from syncookies.c Date: Mon, 20 Sep 2021 22:15:49 +0800 Message-ID: <20210920141549.29643-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 syncookies.c hasn't use any macro or function declared in slab.h and random.h, Thus, these files can be removed from syncookies.c safely without affecting the compilation of the net module. Signed-off-by: Mianhan Liu --- net/ipv4/syncookies.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/net/ipv4/syncookies.c b/net/ipv4/syncookies.c index 33792cf55..8696dc343 100644 --- a/net/ipv4/syncookies.c +++ b/net/ipv4/syncookies.c @@ -7,8 +7,6 @@ */ #include -#include -#include #include #include #include -- 2.25.1