From patchwork Fri Mar 3 18:53:50 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Muhammad Usama Anjum X-Patchwork-Id: 13159402 X-Patchwork-Delegate: kuba@kernel.org 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 7E4EAC64EC4 for ; Fri, 3 Mar 2023 18:54:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231836AbjCCSyp (ORCPT ); Fri, 3 Mar 2023 13:54:45 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36008 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231583AbjCCSyn (ORCPT ); Fri, 3 Mar 2023 13:54:43 -0500 Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5CA9415547; Fri, 3 Mar 2023 10:54:41 -0800 (PST) Received: from localhost.localdomain (unknown [182.179.171.187]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 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 10E056602FB0; Fri, 3 Mar 2023 18:54:32 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1677869680; bh=kPAxGehnff6l8oiuJ40GvX3+I1+jtOiaN6I9cIx8lHA=; h=From:To:Cc:Subject:Date:From; b=DyTWu2Wi7OJw1mvphESD/xfp8/Q4+NTHe+WdERrupfbAS/71yjQ3fec98p/EvY0Nq sikW4CPnK65sWerRQQ5S8waLti0ICsNdkf9hmDOy8MxgPZN6tupfF+6eGfF5mFRUu3 M4e57x45BIvnuzMswkPzoFqi2WYklsQYsTAsZtl8vC78PwpWQD2AzpPknx/gs8o8rU mZ9DHi1o6zOrJc79x7bXhQwrDDXwB3ntfQ6ekUP/kYhMuDGUInm6RY3DW51hQP00bH y+yR/DBZlMRCqTflVBGDGLZlYJKcLcQvfP3c+WKl7bijLDj2XYavN3Moq6dice8lD3 Kpk6kjD/vQQCA== From: Muhammad Usama Anjum To: Ariel Elior , Manish Chopra , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni Cc: Muhammad Usama Anjum , kernel@collabora.com, kernel-janitors@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2] qede: remove linux/version.h and linux/compiler.h Date: Fri, 3 Mar 2023 23:53:50 +0500 Message-Id: <20230303185351.2825900-1-usama.anjum@collabora.com> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org X-Patchwork-Delegate: kuba@kernel.org 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. Also remove linux/compiler.h while at it as it is also not being used. Signed-off-by: Muhammad Usama Anjum --- Changes since v1: - Remove linux/compiler.h as well --- drivers/net/ethernet/qlogic/qede/qede.h | 2 -- drivers/net/ethernet/qlogic/qede/qede_ethtool.c | 1 - 2 files changed, 3 deletions(-) diff --git a/drivers/net/ethernet/qlogic/qede/qede.h b/drivers/net/ethernet/qlogic/qede/qede.h index f90dcfe9ee68..f9931ecb7baa 100644 --- a/drivers/net/ethernet/qlogic/qede/qede.h +++ b/drivers/net/ethernet/qlogic/qede/qede.h @@ -6,8 +6,6 @@ #ifndef _QEDE_H_ #define _QEDE_H_ -#include -#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