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 27034259CBD; Tue, 17 Feb 2026 20:45:58 +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=1771361159; cv=none; b=ZXMB4doezVoJRLx0Q38+Y7EIMdhMaYL8ZUp1bBhpWil2KeFhDrQr619Peg0wBtJiK5PUUh0+Yp5rmYUo1PVNhH6lO06Oqk+OOttrSwYR+jg4HKXVv+bhzM+fGu7B6+/3I47SYTRxDU/zE5eMYHjaInMb8jzOf9qmiFk9MX+Zl+U= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771361159; c=relaxed/simple; bh=2UPxmJrRM4jRdrX9basQLgGU3t6UzObVmO6KpWIVnE0=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=NjZPAsRst4iiMRYqQbk0P6uUAJ16PiIyjKShDI6UTksn7af+vNBUR+5EVNmjTWiyjblu7HVMRAACcerDD8XxnobdGSV8tAHm7Mkm+XpncBAs2P0qF7uPx8uTRCJcFctOilFH7lZN74cLPZSIom8CalW6lSJsfm/nP1EqADZrCic= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=0VXtgKvp; 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="0VXtgKvp" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6F39FC4CEF7; Tue, 17 Feb 2026 20:45:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1771361158; bh=2UPxmJrRM4jRdrX9basQLgGU3t6UzObVmO6KpWIVnE0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=0VXtgKvp+MmpVBrFM+DBnQc0V7bW5NChWTEpMsPnvzugnK+d4jaBZPAR1C6EksJoQ s/eXoRNLC7rgEcLSTovslYkERXfm2LBe1uSYgEhRUNvXfbZ4I3Zniy2WmGu4ZHUtix Hs6JyzMiC7ZvQvkvvlgF0twCO6bU8tTnXscnwDbc= 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.1 19/64] PCI: endpoint: Remove unused field in struct pci_epf_group Date: Tue, 17 Feb 2026 21:31:15 +0100 Message-ID: <20260217200008.238345528@linuxfoundation.org> X-Mailer: git-send-email 2.53.0 In-Reply-To: <20260217200007.505931165@linuxfoundation.org> References: <20260217200007.505931165@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.1-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;