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: 13722650 X-Patchwork-Delegate: kw@linux.com Received: from mail-qv1-f50.google.com (mail-qv1-f50.google.com [209.85.219.50]) (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 5C542191F67 for ; Wed, 3 Jul 2024 18:03:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.219.50 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1720029799; cv=none; b=YNikbtBp57ji55RjLJI4CDN/UVLoR/0gRxQKjrLWtXiK5cGzc7hDzV1xIz4MBK+UZD+gflpXL3jEFwdg4wZe1ee+C15FLzG7VxenLaj83c1/FPwo2edbpyhSsJ72tp54x+iZafN0NBChy3TBbdIAiWfUu8tWeo9Gn7ZCVLafc9M= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1720029799; c=relaxed/simple; bh=Ff0a27+puh7HnxUIevRiLPE/aMeTna0JHN4wnRLqQL8=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: Content-Type; b=pvfkcW8A94TrSffR7qhjLcBW8Ab0+fpZy491/+G7YVfBlKt4NXiD+zP2xMEGTYe+28GLQfmnx1pNDavn1paEpmC5QvvdFkDpNPsem6G1XMeTFGIEPVbRGEvRrJ1X00TVL+zgzlMBaovJmvGONrQw3RBQQK2ALseAcpslmagNxQA= 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=ahGITyy4; arc=none smtp.client-ip=209.85.219.50 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="ahGITyy4" Received: by mail-qv1-f50.google.com with SMTP id 6a1803df08f44-6b4fe2c79fdso31636956d6.0 for ; Wed, 03 Jul 2024 11:03:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; t=1720029797; x=1720634597; 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=DSVS2Zx2P+KDoipmVxBn4FPve5YaFUjVhWEcKXx1LDw=; b=ahGITyy49h3A+UU7bR24uTU3DnX6X9aVpDuyVX0cP6yJz7qqfzymlr3AbPy3d0yU3O BBHuJcYeWtlxd+TQsadxxMhI4+tTmzwpgvovCARbyUguX45UhhEZuei5lnVYXIB0AfKj hjbZQH8ZaDfuooUtb31MU5XRIEVQMowAS25HM= 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=DSVS2Zx2P+KDoipmVxBn4FPve5YaFUjVhWEcKXx1LDw=; b=K4ttmetiV3fxf0IuBeWOpWlf5Z493j+yaA3NqQ4xTshM5ax5be1a+tQHpc8k7JYBSV Gy/FzxbHphjsN5899Jz4MiXGVE3xvaPoc8NCn0MOVeYVpHDkaY0+YK6+mnU35oY7FtB0 V2YwIUZE7JIQsyQ0sDhx8GtatbHBIhU/IGgMuN1N1fE2qQHLCH6amaxQHyQOhURC24aU kutqggPfC4i4YdQUouKyv6GGGHFHnI1mTNWxogDOIn2/G7869Kyopt7/pGEE4ICZr9Oo RJUhKZ0LQkOKr+ILjNV8OEk1oKICDGorL/c+vZPEAmsBqqbdzs75/waI4mxFe/syyBGn ctOg== X-Gm-Message-State: AOJu0YyD6G8Uc2P8RBukxHmNR7/gJNY+9S5FlVFlj0sPpOx4a14EJNUr My5M8yB94Q1r3DjsqEIMz6hpeGkvn0bpec/fv+wGzXKEPZnBG3R/9emvYSaf/JgUqjbBJLGcWrc v0/8+rDnibpLs+6MRSqK+8Hc23woSV12ISXaqc5aSWtDobMYg20AlNVJeGc+Be6lnF3BuGJsqsZ APh5+p6mmmoJSPaaLQy8oRJEzhIwhrP9B1fO3JvjIVCa2RPm81 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> 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 --- 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,