From patchwork Wed Jul 10 22:16:21 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jim Quinlan X-Patchwork-Id: 13729761 X-Patchwork-Delegate: kw@linux.com Received: from mail-ua1-f46.google.com (mail-ua1-f46.google.com [209.85.222.46]) (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 396D2158D89 for ; Wed, 10 Jul 2024 22:16:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.222.46 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1720649808; cv=none; b=YwKga7MyQiSsFtpcXISkQMSTMizcrXSKUX3QFLAkj8AMQk5ah+/VInTCWI8iYGIzxrbO1J2zI7+b1lZHIPVJrTb/3vFitUwuSzEEF7CyBEnBG1D/cxfdk2Mq9sO/oluBUd2mvG8Fx//6V8crQs5XNrYMs0epFZdWssbUcjDnK0o= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1720649808; c=relaxed/simple; bh=bPjj/NWi+6Po4hWmVSVKfyslBVSlDxDA6YvavWwpn1Y=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: Content-Type; b=UazZCRSntFOC06V6WH4DPD0121DZ/Ry56P4W5SGEc469Tec/Pmc1LsQHT8tZ/XHc2yprxwIuEplEoW92wSO0oc9zn4Co/Z0/rJqQb4VAa1snPsHJxm14JdkjB18kLFh63ql7CiOCjl4s61MRWSfXmhYOld5KrFejGAo9968TkZQ= 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=eoiCLhvT; arc=none smtp.client-ip=209.85.222.46 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="eoiCLhvT" Received: by mail-ua1-f46.google.com with SMTP id a1e0cc1a2514c-8102c9a5badso73453241.0 for ; Wed, 10 Jul 2024 15:16:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; t=1720649805; x=1721254605; 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=DR7aXxwG6BkFl8unp/u4NekiXDZNexhdnHD4LdzOzMs=; b=eoiCLhvTVf2AnwRxvB414NdC/8VDychZozZfSio2QEl21DweSK+MkOoGJIcrsqqx5B KMeecdh0PEzWmOfgFLdo8R/+UvTR42IBPWFJCVyRxJRJlJIVIXMNdVvQYNFmnjouAvCl ONfu8DlafGCVsKdEv43l/lN53EVroANxDHBDI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1720649805; x=1721254605; 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=DR7aXxwG6BkFl8unp/u4NekiXDZNexhdnHD4LdzOzMs=; b=gCcPP796RqDrcNVBy9EoHjiiKrcUm8MiuwQEZYffvW1DcB5cGH/2OafgG7fiayW7nS LTjlgr65yALz6XmpKk3RFKqvmvehNIOvEwYaWn15k3L1pJmtpf4QK6eGTVJ5bk19uLPQ sQs5YYCAI0SRaMSBxrTL6F6EtfHQCwqscMWHw+kAr2C2BfXJaV+yAe3EJTI0177ufmX6 3ZP0Kk35zy1eTdIJKtSqAko4qByCdw+llG6+XlMgY6xQRuJK4XOuW2OtzCcj3xLA3dGp xHpTdqCJJ/iVC0fa5pQAYO5i5idMeNmmEAhXZPtkYVjn4YsyXH7LOL/GtPCjsyCn/3IO LeBg== X-Gm-Message-State: AOJu0YxDie+RhbtGRpPhHccBwerYd2/jWUrCwmO6ux7yMtqrJiTUnMMO mw93iIztvqLWsTdVsKsD0n9npAtemtRiLsFdVYi63d1FgpFuaHwLDKuiBxMS4eHCYe3HGJFPOTE mlUHR9TvBj1sDfwmjLDPHZYsrH52ImqcNehHmhN+g3wF4cmfqOJH3qy/1g488f3mW79gYg/aqob q1qmRpgKVQTeMUtdXJlXaPklMYe+W6LCn5I4xMQ4rjpvnYIPb3 X-Google-Smtp-Source: AGHT+IHHR3GEDuWBr8tsLvacoJWVNJ8Mau4MVmsVzLsr4wifpnRwtQZlc2vyNz9MRGdQKIS52iDzDw== X-Received: by 2002:a05:6122:1797:b0:4f2:f2e1:5f04 with SMTP id 71dfb90a1353d-4f33f1e3ea1mr8388856e0c.8.1720649805203; Wed, 10 Jul 2024 15:16:45 -0700 (PDT) Received: from stbsrv-and-01.and.broadcom.net ([192.19.144.250]) by smtp.gmail.com with ESMTPSA id 6a1803df08f44-6b61ba04c16sm20182326d6.60.2024.07.10.15.16.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Jul 2024 15:16:44 -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 v3 07/12] PCI: brcmstb: Remove two unused constants from driver Date: Wed, 10 Jul 2024 18:16:21 -0400 Message-Id: <20240710221630.29561-8-james.quinlan@broadcom.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20240710221630.29561-1-james.quinlan@broadcom.com> References: <20240710221630.29561-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 --- 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,