From patchwork Tue Jul 16 21:31:22 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jim Quinlan X-Patchwork-Id: 13734979 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 6F4BFC3DA49 for ; Tue, 16 Jul 2024 21:35:08 +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=fpyrnyxi0sSjYVYOgHyxED4OEzPHcHs9d473hYbcmOo=; b=lomdVYbGlPHsCb62tp9+/8ree1 oZvNCZ3DdnXkgXwi6Tz6oQDnrJ70YRVtz/8rGgXsa47IVlLVLf3cDjdFyqoso08g+4mztKJ8zJACq jmnRLH1oc5VeFLfLLwBkcT+ozD+ozt+9mh9oZ7gTLVwuFq+99styIUREsKdJCO8ZNna3E/SCvVgjC GU8Ly5ZnLip+6DpNo4GMQXkSXKn8AyDOgl9E2fLrmbHjNWmjNxjP4ilCqKdh5gVphbrmTS9cr/iz/ /+DN4w3Mw7r5EosIkkLJWZcItdj5yjK498Md7IZJcYVIkYgCxcr5jOfwQMYNNEPypOEiFaVmJouor mV4OprFg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sTpp4-0000000Bqci-1NRl; Tue, 16 Jul 2024 21:34:58 +0000 Received: from mail-pf1-x433.google.com ([2607:f8b0:4864:20::433]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sTpmG-0000000BpIt-1QHM for linux-arm-kernel@lists.infradead.org; Tue, 16 Jul 2024 21:32:06 +0000 Received: by mail-pf1-x433.google.com with SMTP id d2e1a72fcca58-70b04cb28acso150504b3a.0 for ; Tue, 16 Jul 2024 14:32:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; t=1721165524; x=1721770324; 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=fpyrnyxi0sSjYVYOgHyxED4OEzPHcHs9d473hYbcmOo=; b=Vs1WUgxdJC1WBRerY+irr0hQ81AChMiVHRTMoM4f99qOStAHdEIhn3UBwhkKG42Xfv Zh69QU94DYBBoJrVd/M0n+X8mVEoSnecUrA0cbbllavqA2PwgAD9Sf5REe94n6MIUe8U BxuI/5sAWNT61xW6Dq3x+8xKrJ6SsDlFwT6Q8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1721165524; x=1721770324; 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=fpyrnyxi0sSjYVYOgHyxED4OEzPHcHs9d473hYbcmOo=; b=ErAOwnG3UPEH+iDT6+fLqMM33u+gZwgc/zWj958BHGAmrRC9WDtuhTtJjlHgbBif0L fPkOTD/tKOYr6xTyRA1gBN3bcRWVrUNh+rioBp32q2HBtW1/Z35jpvX5eVJuvk9u07Aa ohvUtgI1pQjcUiQ5N6ffH8dUDue6ETeyZ9iB6pLn9p0UgNbe5zfnVyUYKcI8IaY9utlu OMTjSYS5zDms/03A97i3iz2osefAn2fUTbAmHAmRfU19Y6BX1AIjPqeHdW+9RlEuUJcb LnXTsXmOvRYZzDvI9y8PJ/wtu4qNWzYzfoveLUbTUmeBH4MN3PcDQFG3VvImaOCy/xOn vlXQ== X-Forwarded-Encrypted: i=1; AJvYcCUbc+YXtaXzA69icLmKEMtz7mp4XvBZefCuy8BUdS3/hyH8fPbnmFkIdQbxwyFTskgzK8vExwF4ft6/AR4V7Ef+TZDHQiDfDFb+lWkT441Xtg4PiYg= X-Gm-Message-State: AOJu0YzY1EV6UwQkUstKYUTAJO83FtugMWlEvhI8at+Kxq5pyV004exl Ikq3jprpDWCD76JsWTntUvMgjDB1+AiLRMHZ/chKx9Me1LEs6N91aCEF3ifdHg== X-Google-Smtp-Source: AGHT+IEQ+y3xcUv5Dwl1btE2c6dnmPHXqa/DiHXMMkvzO4C3SKiBXeeShZrn4dIthVUtGZRGRZZ2AQ== X-Received: by 2002:a05:6a00:2da8:b0:706:2a38:94e2 with SMTP id d2e1a72fcca58-70cd83d64f6mr5132276b3a.12.1721165523615; Tue, 16 Jul 2024 14:32:03 -0700 (PDT) Received: from stbsrv-and-01.and.broadcom.net ([192.19.144.250]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-70b7eb9e20fsm6812828b3a.31.2024.07.16.14.32.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 Jul 2024 14:32:03 -0700 (PDT) From: Jim Quinlan To: linux-pci@vger.kernel.org, Nicolas Saenz Julienne , Bjorn Helgaas , Lorenzo Pieralisi , Cyril Brulebois , Stanimir Varbanov , Krzysztof Kozlowski , 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 v4 07/12] PCI: brcmstb: Remove two unused constants from driver Date: Tue, 16 Jul 2024 17:31:22 -0400 Message-Id: <20240716213131.6036-8-james.quinlan@broadcom.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20240716213131.6036-1-james.quinlan@broadcom.com> References: <20240716213131.6036-1-james.quinlan@broadcom.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240716_143204_564935_122C8706 X-CRM114-Status: UNSURE ( 7.95 ) 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 Reviewed-by: Florian Fainelli Reviewed-by: Manivannan Sadhasivam --- 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 073d790d97b7..dfb404748ad8 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,