From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id AED103783CF; Tue, 17 Feb 2026 20:41:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771360884; cv=none; b=FjRhkrX6OnEZMwUjNLqzR24Ie+DSRQW0d+ou45ALyUDSFdV720luyriJHJ6gNutLlr/mzob/6vhQjqf4CG+WaUj9WS4UFdoywPxYmsou7luIIxpsdsYKiyrQZNrM1TDWqO6JNKdcNKliLqNY7m90YsJU25yIAYxrVC5fDTOEDBY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771360884; c=relaxed/simple; bh=6fScX3KwRIVbvwtgL4sSVbfDo+Xt6Z/5SFMzp86OzkU=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=G2/HoQXND4r63/7KvwvCkHUUaE/EoCYw0UZGaMXJ+0f6Co5YRy37/vvIoh3LHeMIoK/aMtRuStctEK9ahWXngF0czYY3jHqHm/LIEpjgbFxa3AWhzeX5UXid+JglKzNlpsFYFV5JOa2FeRkw5IVVfhK55jBL/9W938zcgZl0mUw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=IfbatsH0; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="IfbatsH0" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1FC5BC19421; Tue, 17 Feb 2026 20:41:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1771360884; bh=6fScX3KwRIVbvwtgL4sSVbfDo+Xt6Z/5SFMzp86OzkU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=IfbatsH0TbT9JmUUdCJS+jONE3Is3p5i8bdbgl3oYSDs62EU40gjXQUDNih7z3IKI DkhozuO+v4nEwdy5WaQPMPOoe48Oq1CYtu6ddbWH9uudQ6cZQdT0vyTI2Xko5pFQLX tWWN1SkS/yXtcC0lUnMJBEcnXlmuUHwWRtVFNfQc= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Christophe JAILLET , =?UTF-8?q?Krzysztof=20Wilczy=C5=84ski?= , Bjorn Helgaas , Sasha Levin Subject: [PATCH 6.6 02/39] PCI: endpoint: Remove unused field in struct pci_epf_group Date: Tue, 17 Feb 2026 21:30:24 +0100 Message-ID: <20260217200004.317086439@linuxfoundation.org> X-Mailer: git-send-email 2.53.0 In-Reply-To: <20260217200004.221651386@linuxfoundation.org> References: <20260217200004.221651386@linuxfoundation.org> User-Agent: quilt/0.69 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 6.6-stable review patch. If anyone has any objections, please let me know. ------------------ From: Christophe JAILLET [ Upstream commit 328e4dffbeecc0f2cc5a149dee6c11a0577c9671 ] In "struct pci_epf_group", the 'type_group' field is unused. This was added, but already unused, by commit 70b3740f2c19 ("PCI: endpoint: Automatically create a function specific attributes group"). Thus, remove it. Found with cppcheck, unusedStructMember. [kwilczynski: commit log] Link: https://lore.kernel.org/linux-pci/6507d44b6c60a19af35a605e2d58050be8872ab6.1712341008.git.christophe.jaillet@wanadoo.fr Signed-off-by: Christophe JAILLET Signed-off-by: Krzysztof WilczyƄski Signed-off-by: Bjorn Helgaas Stable-dep-of: 7c5c7d06bd1f ("PCI: endpoint: Avoid creating sub-groups asynchronously") Signed-off-by: Sasha Levin Signed-off-by: Greg Kroah-Hartman --- drivers/pci/endpoint/pci-ep-cfs.c | 1 - 1 file changed, 1 deletion(-) --- a/drivers/pci/endpoint/pci-ep-cfs.c +++ b/drivers/pci/endpoint/pci-ep-cfs.c @@ -23,7 +23,6 @@ struct pci_epf_group { struct config_group group; struct config_group primary_epc_group; struct config_group secondary_epc_group; - struct config_group *type_group; struct delayed_work cfs_work; struct pci_epf *epf; int index;