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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 02BE2C64EC4 for ; Fri, 3 Mar 2023 18:52:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231715AbjCCSv7 (ORCPT ); Fri, 3 Mar 2023 13:51:59 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32968 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230228AbjCCSv5 (ORCPT ); Fri, 3 Mar 2023 13:51:57 -0500 Received: from madras.collabora.co.uk (madras.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e5ab]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D9C654219; Fri, 3 Mar 2023 10:51:53 -0800 (PST) Received: from [192.168.10.39] (unknown [182.179.171.187]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: usama.anjum) by madras.collabora.co.uk (Postfix) with ESMTPSA id 75CF46602FB0; Fri, 3 Mar 2023 18:51:47 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1677869511; bh=6j5G1DzPfdDchQCrothO/vHHFj3+FwJJG8CYehazm/4=; h=Date:Cc:Subject:To:References:From:In-Reply-To:From; b=awW5Y02krkKBw8WR4fRsPzNJtePrV9cmCeVzyzfao0Xp/SWcqcF09g3bjXRL1+ixH QVeC8t2SvRVJt+nEjKQ2j9AnhLxzfmTEEhEwU+i/A+UZTj1Lw8rv5AhCcs8FEVvqyP ZTHmuQBfqsPD/BV8tDzYpeW29HeFMsuVZFntUZ2QpVunrDmYybv4y2ylE4yc5IJuTw bSRBJhmAGZEfd7ZDNYzLP2TDz+1G7ENv4sikDN9b7iuzSJWNvpv0o4CRw92mMz0v6w bV/rKusjMvfd5h8diSE3iu3afQxI2T8fVAdimJXdcicaGY//NdI9MM4+Dn10VmFBvH KUUbshbEsGUkQ== Message-ID: Date: Fri, 3 Mar 2023 23:51:37 +0500 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.7.2 Cc: Muhammad Usama Anjum , Ariel Elior , Manish Chopra , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , kernel@collabora.com, kernel-janitors@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] qede: remove linux/version.h Content-Language: en-US To: Alexander Lobakin References: <20230303125844.2050449-1-usama.anjum@collabora.com> From: Muhammad Usama Anjum In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 3/3/23 8:35 PM, Alexander Lobakin wrote: > From: Muhammad Usama Anjum > Date: Fri, 3 Mar 2023 17:58:44 +0500 > >> make versioncheck reports the following: >> ./drivers/net/ethernet/qlogic/qede/qede.h: 10 linux/version.h not needed. >> ./drivers/net/ethernet/qlogic/qede/qede_ethtool.c: 7 linux/version.h not needed. >> >> So remove linux/version.h from both of these files. >> >> Signed-off-by: Muhammad Usama Anjum >> --- >> drivers/net/ethernet/qlogic/qede/qede.h | 1 - >> drivers/net/ethernet/qlogic/qede/qede_ethtool.c | 1 - >> 2 files changed, 2 deletions(-) >> >> diff --git a/drivers/net/ethernet/qlogic/qede/qede.h b/drivers/net/ethernet/qlogic/qede/qede.h >> index f90dcfe9ee68..6ff1bd48d2aa 100644 >> --- a/drivers/net/ethernet/qlogic/qede/qede.h >> +++ b/drivers/net/ethernet/qlogic/qede/qede.h >> @@ -7,7 +7,6 @@ >> #ifndef _QEDE_H_ >> #define _QEDE_H_ >> #include > > I think compiler.h is also unused, maybe this one too, while at it?' Just checked, it is also not being used. I'll send v2. > >> -#include >> #include >> #include >> #include >> diff --git a/drivers/net/ethernet/qlogic/qede/qede_ethtool.c b/drivers/net/ethernet/qlogic/qede/qede_ethtool.c >> index 8034d812d5a0..374a86b875a3 100644 >> --- a/drivers/net/ethernet/qlogic/qede/qede_ethtool.c >> +++ b/drivers/net/ethernet/qlogic/qede/qede_ethtool.c >> @@ -4,7 +4,6 @@ >> * Copyright (c) 2019-2020 Marvell International Ltd. >> */ >> >> -#include >> #include >> #include >> #include > > Thanks, > Olek -- BR, Muhammad Usama Anjum