From patchwork Mon Aug 8 10:24:21 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sasha Neftin X-Patchwork-Id: 1664477 X-Patchwork-Delegate: anthony.l.nguyen@intel.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=osuosl.org header.i=@osuosl.org header.a=rsa-sha256 header.s=default header.b=1kegu87Z; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=osuosl.org (client-ip=140.211.166.133; helo=smtp2.osuosl.org; envelope-from=intel-wired-lan-bounces@osuosl.org; receiver=) Received: from smtp2.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4M1XPV591gz9s2R for ; Mon, 8 Aug 2022 20:24:30 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id 0DF40402E5; Mon, 8 Aug 2022 10:24:29 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp2.osuosl.org 0DF40402E5 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=osuosl.org; s=default; t=1659954269; bh=rKI8dQGAq8Ln/ZqO1p7fHUkzlH0OrFZ1Jeph3ZiPVRA=; h=From:To:Date:Subject:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From; b=1kegu87ZVBK/tGv+ElCnTyNA57hxQ1+as1sV0wnJ8JEKEoofAbF569Q7TL9Ir9NM3 T0lH6LsnL4e/xK5nToNXWdPKVjIo8671QBNC1Yw3eyQzAj0oA9WGtseYbswmPbDlAT 3J+6Gqtb2SJkO6MhMFCYxQahhRDgfp8O6qbyu4XBpMNphxA7RuzHPf4aLbtlMi2w5R KkTbDQT3H0mYZm8ygJDKGfeeOFXMtYy6tVLHgPiX11/LZ34gg2PXl7u/Lng5VQAYtG HmDJS9hQ0PADC9PfDpMasVhxjP6eVUbnz6dqeb/nIgDquOxJWnsFgNcPLVznduZVal v1ht0PVtpRyMA== X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp2.osuosl.org ([127.0.0.1]) by localhost (smtp2.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id g7CEDV8bOsoI; Mon, 8 Aug 2022 10:24:28 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp2.osuosl.org (Postfix) with ESMTP id 0D1CA40609; Mon, 8 Aug 2022 10:24:27 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp2.osuosl.org 0D1CA40609 X-Original-To: intel-wired-lan@lists.osuosl.org Delivered-To: intel-wired-lan@lists.osuosl.org Received: from smtp1.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 03A051BF36D for ; Mon, 8 Aug 2022 10:24:27 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id DE8E5813A5 for ; Mon, 8 Aug 2022 10:24:26 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.osuosl.org DE8E5813A5 X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id GUoS1JX_le7w for ; Mon, 8 Aug 2022 10:24:26 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.8.0 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.osuosl.org 2F7A48137C Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by smtp1.osuosl.org (Postfix) with ESMTPS id 2F7A48137C for ; Mon, 8 Aug 2022 10:24:26 +0000 (UTC) X-IronPort-AV: E=McAfee;i="6400,9594,10432"; a="291335536" X-IronPort-AV: E=Sophos;i="5.93,222,1654585200"; d="scan'208";a="291335536" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Aug 2022 03:24:25 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.93,222,1654585200"; d="scan'208";a="601039555" Received: from ccdlinuxdev11.iil.intel.com ([143.185.162.183]) by orsmga007.jf.intel.com with ESMTP; 08 Aug 2022 03:24:24 -0700 From: Sasha Neftin To: intel-wired-lan@lists.osuosl.org Date: Mon, 8 Aug 2022 13:24:21 +0300 Message-Id: <20220808102421.1651482-1-sasha.neftin@intel.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1659954266; x=1691490266; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=7WJiD2x1WMHVlyq86cB+xOtYbRkNzE8nrE87DWmu51k=; b=TU/XvDpPpIllINRPCwDsf9tamit4/hj1WlEoI9bYuLXSs2MSgr6p0CF6 X9ERd2eK+IvUahg8RZh6CZ2RRcn7nM7DFqICfCz/TYS78EmhhUvTaoXyB 5fIyw4ERUiirGPx1wqCzLmFZ7RJWyfeNFNBxp5jVszJZvXn5sXVy79QTg Lsajsw45CKF/73Xt8u2jHfNLQKCUL7PT36hIJdsKs6dnYlSx8w1zL9yM+ KKaDWHV2QfkAc6XyUdhyRFVAf6fQD8R/YqqO9xq1wbYlgCP/bQVB5GFzm raBr2y1qj/+H/+0cK9DWH+rKx2uU+yjuLZdF0eKB+1mF3nTA77i46pDQ8 g==; X-Mailman-Original-Authentication-Results: smtp1.osuosl.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=TU/XvDpP Subject: [Intel-wired-lan] [PATCH v1 1/1] igc: Remove IGC_MDIC_INT_EN definition X-BeenThere: intel-wired-lan@osuosl.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Intel Wired Ethernet Linux Kernel Driver Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: intel-wired-lan-bounces@osuosl.org Sender: "Intel-wired-lan" IGC_MDIC_INT_EN defnition is not used. This patch comes to tidy up the driver code. Signed-off-by: Sasha Neftin Tested-by: Naama Meir --- drivers/net/ethernet/intel/igc/igc_defines.h | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/net/ethernet/intel/igc/igc_defines.h b/drivers/net/ethernet/intel/igc/igc_defines.h index 5c66b97c0cfa..4f9d7f013a95 100644 --- a/drivers/net/ethernet/intel/igc/igc_defines.h +++ b/drivers/net/ethernet/intel/igc/igc_defines.h @@ -610,7 +610,6 @@ #define IGC_MDIC_OP_WRITE 0x04000000 #define IGC_MDIC_OP_READ 0x08000000 #define IGC_MDIC_READY 0x10000000 -#define IGC_MDIC_INT_EN 0x20000000 #define IGC_MDIC_ERROR 0x40000000 #define IGC_N0_QUEUE -1