From patchwork Wed Jul 31 22:28: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: 13749309 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 1087AC3DA64 for ; Wed, 31 Jul 2024 22:34:59 +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:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=tJc8HBYFIKOYZ9CyZ9IbVGyaBM2QRYS+Mj0ZBsZxAaw=; b=XkhZo1blEpKJS9Wc1eJX9HvTRe FXWDs+a4/XCbzKHofihH+yO2xWnm2SQoZNyGuW3FyfApBhmA1MZrz2RqHcB0qBEg3BPJ+U7lEfO5I EQTsdSodaqlLqYsdm5qaZFVuqL35OatNor4NxEN0puPxK/k1QOvv5gMq30d9JajP4OBfuolqT8K2X FAjnqOd3O5BzmMjKeyiWbEZ3oWmxbqV/o3NEBQO0aavlL6Go5/NeRWW02pg9gbxodyzhlpf8feRCk OQK76tK2nf19Cchdep4MqAitdzvHRrosYo+FuXxtWaAyIsGDP/s5R9H9CA+gOBnwpnZ6elcliaCg1 jkVYHFag==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sZHuE-00000002jHw-0ntL; Wed, 31 Jul 2024 22:34:50 +0000 Received: from mail-qt1-x832.google.com ([2607:f8b0:4864:20::832]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sZHoM-00000002hTu-2M6S for linux-arm-kernel@lists.infradead.org; Wed, 31 Jul 2024 22:28:48 +0000 Received: by mail-qt1-x832.google.com with SMTP id d75a77b69052e-44ff418e040so35253361cf.2 for ; Wed, 31 Jul 2024 15:28:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; t=1722464925; x=1723069725; 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=tJc8HBYFIKOYZ9CyZ9IbVGyaBM2QRYS+Mj0ZBsZxAaw=; b=X1GNmbFA2ybnpFZs0h8HN3l7SWIB/MxXNplp+EKBFRKrqV72Q+MR6igPwTe1xeElUp iJbOCs/wLS7UQeZ8GNnWFdV1Bb4vCfg2pN/52K8EzLbCa6U7OxvyiVqRgAaSnMEUYnFt DXXUn64C5C0Ba5xl/TkMlBT6tPyTedvWwJKD0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1722464925; x=1723069725; 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=tJc8HBYFIKOYZ9CyZ9IbVGyaBM2QRYS+Mj0ZBsZxAaw=; b=sH5r3N6y1cIbXGTM0ZUwkN7oyWHmIhV3CRuJOISg8jc8umyhFWa/xIH7JT2Z6B81uR KhFoRKHgKR5fbZcmyfSyZF+yjGDyG6yKwIOAbp7TbU684DGWxRRq2lpRpbBeRUV0kUjT L9MNwmFmeSBJAUdtBlruy2t3PAUbeiKGKoNg4eXn+fB8FOAZIE4CtyMQ3aTFshJrWzk5 wMo6lbS2B2fNsPWRbYpHXgB4ZwBZg6zh0l/+ErbtB1mxruN0pDkhiOq+MDpmAGJA4E72 QaIkXuGY+LpBc/Cf/+aMHkU5JuexXWQbF4pQVIkA76CuEaskYn70JM229llxYqOkKDRw 281Q== X-Forwarded-Encrypted: i=1; AJvYcCVTHcPj5QlRzlR7y6jb6VQszBFUleD2622XMoTzjhOf+7rp7jAbgTi1LGRyFMzvNcXZHnuQnov8GH8hkmuYZqDqA9YogC7Z290tUesAeNV0B/yAo7U= X-Gm-Message-State: AOJu0Yyw0qLkeCFVJueXx3kZfeYdNei+pAGW7/vJAPhL9s6beY3Hm9sd X4dn+EifLuq3CCuqun3IFvZhzKH9Wbbiw3w1dhmTOWKpj2gIahyVfh+omUq3kw== X-Google-Smtp-Source: AGHT+IGWS8XJqJxSeAH/l9U2iSnwykrx+/R/UPoZ2dJMSXMMtQONEAADXPeWL2Ey1+sfyHjCoQX+JQ== X-Received: by 2002:a05:622a:1922:b0:44d:6627:4b16 with SMTP id d75a77b69052e-4514f9bdc74mr7720561cf.1.1722464924732; Wed, 31 Jul 2024 15:28:44 -0700 (PDT) Received: from stbsrv-and-01.and.broadcom.net ([192.19.144.250]) by smtp.gmail.com with ESMTPSA id d75a77b69052e-44fe8416c80sm62359181cf.96.2024.07.31.15.28.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 31 Jul 2024 15:28:44 -0700 (PDT) From: Jim Quinlan To: linux-pci@vger.kernel.org, Nicolas Saenz Julienne , Bjorn Helgaas , Lorenzo Pieralisi , Cyril Brulebois , Stanimir Varbanov , Manivannan Sadhasivam , 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 v5 07/12] PCI: brcmstb: Remove two unused constants from driver Date: Wed, 31 Jul 2024 18:28:21 -0400 Message-Id: <20240731222831.14895-8-james.quinlan@broadcom.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20240731222831.14895-1-james.quinlan@broadcom.com> References: <20240731222831.14895-1-james.quinlan@broadcom.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240731_152846_684302_8D51F914 X-CRM114-Status: UNSURE ( 8.88 ) 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 Remove two constants in the driver which are no longer used: RGR1_SW_INIT_1_INIT_MASK and RGR1_SW_INIT_1_INIT_SHIFT. 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 9fa1500b8eee..1ae66c639186 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,