From patchwork Wed Jul 3 18:02:51 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jim Quinlan X-Patchwork-Id: 13722664 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id A84A6C30653 for ; Wed, 3 Jul 2024 18:05:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Type:References: In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Reply-To:MIME-Version: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=DH75zQaW4tsGAjkSCLMLjrr9IecO7tm55Ns3iiMhxO4=; b=K3yjCDgLcbq1S/GWXGQjwJ71T5 HbnpeSv8V2NeW5cvNrG/T1mXZ36EpLF3+fI1AYoYGV6zR43GXn5vSqkNZM7tN5EpL+mqpNH6231ye SKXHRYRcpOvqIg/siHj36+yzZnj2JavpDKH1El1r9iN83+rD8sz+RlRYilyZ5Pm5QA1YwG7KbnXhb /WGcMPeMHdUqwH7SxhSM3nM8brrjUgCpK9u41xr+3DfznoQq8jfErynMxlEoBdsBV5m5Cn0iWt6BN OhcIxHz2o49/ye2x/yKL4ifWBZw3fLBKcVTRQB5uzj91+/L7TX1l9C+oaO+u2SalaYPgRfWh4Sv2Y Ua3JuBUQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sP4Lk-0000000B5wd-48Ub; Wed, 03 Jul 2024 18:05:00 +0000 Received: from mail-qk1-x735.google.com ([2607:f8b0:4864:20::735]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sP4K6-0000000B53o-1raO for linux-arm-kernel@lists.infradead.org; Wed, 03 Jul 2024 18:03:20 +0000 Received: by mail-qk1-x735.google.com with SMTP id af79cd13be357-79c0e7ec66dso459514185a.1 for ; Wed, 03 Jul 2024 11:03:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; t=1720029797; x=1720634597; darn=lists.infradead.org; h=references:in-reply-to:message-id:date:subject:cc:to:from:from:to :cc:subject:date:message-id:reply-to; bh=DH75zQaW4tsGAjkSCLMLjrr9IecO7tm55Ns3iiMhxO4=; b=hjJu2U301iao9qLfX4LDp8vmZvY8mnXC2LIYnDeRhnTpWv0FZc4rlnZ1vHwfRZ9MML eeSlE6CMdPgbbsCR0MXcrhBuFweLEMF2I4dqqx/kknbNuBbB0wvWtygqoaVGhrlEmd9B 2nxTvGKuC2sLtCCvSX7GrMZFYlE6SYiHjOnGM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1720029797; x=1720634597; h=references:in-reply-to:message-id:date:subject:cc:to:from :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=DH75zQaW4tsGAjkSCLMLjrr9IecO7tm55Ns3iiMhxO4=; b=tcqvYjCy/xuLlmBpl5T7XjNyJTs/zaBYaeDvHneNMcuDDBrtQ0A9BmlR0IIgk+zyEX QMv7fQkFKs0DfXqIQEjHpST1ifyjVdB0niVvXPUBE4jBOFsfS5/qeSXOBsvPhmV49EN9 Isf4RdJP5mtAjm4znHKI4IYapEimfdBUCRxSvYrGhPOiPeFMTcfAu2bsPFCxlksOHid5 EHXcw/BoNiTgluDdiRXAsa4MRKAfEofOvprSl4UsOnL7wfCHLc93+KYYP7Qjyty6cuwO m/wiaEvNkAL/Hx3YtGi1MTYIBmu2METzD7WLaAYX2lMrUjdxH4dWkQYXS0gxPHWlH1lI nyKA== X-Forwarded-Encrypted: i=1; AJvYcCVup4bcXaXx2yWjt6VZpRMmG0XwBhLIsCumWtiLHtRQwbbrHbcVB93QLjP8r1XcQvfRW1SqKGhg90/JyRajSb8hbd1GmtYToGOKdbQTmJH90tPxuiE= X-Gm-Message-State: AOJu0YzxRbVv+ZctLBVm/Z2oNmrhKAJtl2J2qz3AAtf7dNMUGI9aCbk8 pgp0SIbCFx7L/1ymi9zcAe8rB8CVrvY1aHft6g8mAhZHfNb8c9p2QrzEzptLng== X-Google-Smtp-Source: AGHT+IE6uHoz4cTA72J7+htPr0lmBT1zu6ZB4m7wS0U1dIdazQBuFT5lKcvFqPATqX5GLBNTOGUr7Q== X-Received: by 2002:a05:6214:29e3:b0:6b5:3eb:6cf6 with SMTP id 6a1803df08f44-6b5b71a5d4amr165799996d6.40.1720029796681; Wed, 03 Jul 2024 11:03:16 -0700 (PDT) Received: from stbsrv-and-01.and.broadcom.net ([192.19.144.250]) by smtp.gmail.com with ESMTPSA id 6a1803df08f44-6b59e5f1a6dsm55589626d6.83.2024.07.03.11.03.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Jul 2024 11:03:15 -0700 (PDT) From: Jim Quinlan To: linux-pci@vger.kernel.org, Nicolas Saenz Julienne , Bjorn Helgaas , Lorenzo Pieralisi , Cyril Brulebois , Stanimir Varbanov , bcm-kernel-feedback-list@broadcom.com, jim2101024@gmail.com, james.quinlan@broadcom.com Cc: Florian Fainelli , Lorenzo Pieralisi , =?utf-8?q?Krzysztof_Wilczy=C5=84?= =?utf-8?q?ski?= , Rob Herring , linux-rpi-kernel@lists.infradead.org (moderated list:BROADCOM BCM2711/BCM2835 ARM ARCHITECTURE), linux-arm-kernel@lists.infradead.org (moderated list:BROADCOM BCM2711/BCM2835 ARM ARCHITECTURE), linux-kernel@vger.kernel.org (open list) Subject: [PATCH v2 07/12] PCI: brcmstb: Remove two unused constants from driver Date: Wed, 3 Jul 2024 14:02:51 -0400 Message-Id: <20240703180300.42959-8-james.quinlan@broadcom.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20240703180300.42959-1-james.quinlan@broadcom.com> References: <20240703180300.42959-1-james.quinlan@broadcom.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240703_110318_540329_A34BF3FA X-CRM114-Status: UNSURE ( 8.09 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Two constants in the driver, RGR1_SW_INIT_1_INIT_MASK and RGR1_SW_INIT_1_INIT_SHIFT are no longer used and are removed. Signed-off-by: Jim Quinlan Reviewed-by: Stanimir Varbanov --- drivers/pci/controller/pcie-brcmstb.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/drivers/pci/controller/pcie-brcmstb.c b/drivers/pci/controller/pcie-brcmstb.c index d8c0f1474369..3aa82871e9b3 100644 --- a/drivers/pci/controller/pcie-brcmstb.c +++ b/drivers/pci/controller/pcie-brcmstb.c @@ -210,11 +210,6 @@ enum { PCIE_INTR2_CPU_BASE, }; -enum { - RGR1_SW_INIT_1_INIT_MASK, - RGR1_SW_INIT_1_INIT_SHIFT, -}; - enum pcie_type { GENERIC, BCM7425,