]> www.infradead.org Git - users/dwmw2/linux.git/commitdiff
PCI: cpqphp: Remove unused struct ctrl_dbg.ctrl
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Sat, 12 Oct 2024 19:53:42 +0000 (21:53 +0200)
committerBjorn Helgaas <bhelgaas@google.com>
Fri, 18 Oct 2024 23:31:52 +0000 (18:31 -0500)
'ctrl' is unused; remove it to save a few bytes when the structure is
allocated.

Link: https://lore.kernel.org/r/551d0cdaabcf69fcd09a565475c428e09c61e1a3.1728762751.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/hotplug/cpqphp_sysfs.c

index fed1360ee9b18739c3b9e9d8bc2fbd9552989054..6143ebf71f211727d34390c12f66c928239d15e5 100644 (file)
@@ -123,7 +123,6 @@ static int spew_debug_info(struct controller *ctrl, char *data, int size)
 struct ctrl_dbg {
        int size;
        char *data;
-       struct controller *ctrl;
 };
 
 #define MAX_OUTPUT     (4*PAGE_SIZE)