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: 13734962 X-Patchwork-Delegate: kw@linux.com Received: from mail-pf1-f175.google.com (mail-pf1-f175.google.com [209.85.210.175]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id ECB3113C9A2 for ; Tue, 16 Jul 2024 21:32:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.175 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721165526; cv=none; b=tTJmCUyXPH1L3JF0G4YSMoAUqH/APhl1zgxr/E6qYLMg/oZzytSotIJ+J6pDwZ4ZRQEJGL8JVSqsyA7138sY3heqa0rvO0JYnBQr/Wrw//U99Pt/WC1zjIvvPyQPewjRvS2XvIsxY9/qiTMKbFx9t/5wqgElVBZ1gBga9XG/IBE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721165526; c=relaxed/simple; bh=Z2tubBvOC6XbBFzJNdEyZ6x1k5un80vCEG1as9V5aMU=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: Content-Type; b=cyEFgdVf3tr78nj5vF8zEdCzQS1tRw9hWnRlY/eDl9/vjF5fkfJcocSTQ45Y8cq4agHY7OuZGFxrlU9PhAVRNAwTIEfJt0hIsIbu7PTwnVIERwcsbSmXJbyrZFfd4ktkiqObMPpAMN3DSfSBRgOrZ8vX9cY2tkye//BbvC/3Mso= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=broadcom.com; spf=fail smtp.mailfrom=broadcom.com; dkim=pass (1024-bit key) header.d=broadcom.com header.i=@broadcom.com header.b=Dmw/yglr; arc=none smtp.client-ip=209.85.210.175 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=broadcom.com Authentication-Results: smtp.subspace.kernel.org; spf=fail smtp.mailfrom=broadcom.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=broadcom.com header.i=@broadcom.com header.b="Dmw/yglr" Received: by mail-pf1-f175.google.com with SMTP id d2e1a72fcca58-70b04cb28acso150520b3a.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=vger.kernel.org; h=references:in-reply-to:message-id:date:subject:cc:to:from:from:to :cc:subject:date:message-id:reply-to; bh=OZM5Gb08x4X6Ok1HcGVSDF3SPXVakG4JJkYmvQ/rjO4=; b=Dmw/yglri2XLJrvlE7T3fySPIYBxMyeDAr062CXBUCLH86l4DGjVrAY09yOibJSh+F besj/VhQiphVaCeL8p14IUoAxWbkOCnrC0nP1Y3f603vwwCA74XRwjgIw+f+m6Py4Eu6 E6W/AOc2+2uiV/4rISGhZVZwPJ8mwuKVMkxiE= 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=OZM5Gb08x4X6Ok1HcGVSDF3SPXVakG4JJkYmvQ/rjO4=; b=fMtN9pcQ2CYXy7WQ4AJzdB9xmOWPpJKKm+kZfOKcGh5v6WtLn0ZHY1ThnpALdcuCEG idPU9ZI+1/2hgkN8eNnwj11LLkqeqRn9vGDduzNdQA3DM90DPkFCpoHrCJGYKBPH4HL9 na1f2Z8gUDrOX+lMO16BB6WcSHcY2Cum8CdD7Cauv2IPHhCmGZgjXNKbrnWxUp6+8FGz C7mNJ49Ub7kMlrmb9kL1tzAL2bBI/w/q8xAisSy459Bx1LIIZ8R2ataESxsGvp+2PWib VuAF0JAXd015VktEk3ksJASgen1TUVV4rBUWMJLBi5i8fQLud/9+Ip5Qpm15vn6jPCF6 RqQg== X-Gm-Message-State: AOJu0YwicLcm+dGxhDIuwiJNUIqvkCtT9DM9Fl/fAQo3FakIl9ZO1fky aBEZlCPrrGcBLJR76JBJB9XGo5X/jl8J8+T47Q4jeCQoFsS8aVndBoSpCNVi+QEkLQpiobAWJ0p quoZJyyd7TMoe1ag94UMDPTBsrsq+isVfeSpq99wrVLtDRTUj+LvTnjbsAZIRToSR+z2dpfOTtt 8jR8AR+Ksj2SzlkzGhImI9/pXEkdVvHgIVWUfpM5YanV5cpg== 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> Precedence: bulk X-Mailing-List: linux-pci@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: 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,