Skip to content

Commit 91a6296

Browse files
tititiou36bjorn-helgaas
authored andcommitted
PCI: cpqphp: Remove unused struct ctrl_dbg.ctrl
'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>
1 parent 5b036ca commit 91a6296

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

drivers/pci/hotplug/cpqphp_sysfs.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,6 @@ static int spew_debug_info(struct controller *ctrl, char *data, int size)
123123
struct ctrl_dbg {
124124
int size;
125125
char *data;
126-
struct controller *ctrl;
127126
};
128127

129128
#define MAX_OUTPUT (4*PAGE_SIZE)

0 commit comments

Comments
 (0)