summaryrefslogtreecommitdiffstats
path: root/include/linux/pci.h
diff options
context:
space:
mode:
authorMathias Krause <minipli@grsecurity.net>2023-12-20 14:35:05 +0100
committerBjorn Helgaas <bhelgaas@google.com>2023-12-26 18:00:31 -0600
commit0942155a48e4cfc2c83e514c86a3de8f78f6af02 (patch)
treeab48510ba27616b6def695cbed2822e7b37c7e61 /include/linux/pci.h
parentb85ea95d086471afb4ad062012a4d73cd328fa86 (diff)
downloadlinux-0942155a48e4cfc2c83e514c86a3de8f78f6af02.tar.gz
linux-0942155a48e4cfc2c83e514c86a3de8f78f6af02.tar.bz2
linux-0942155a48e4cfc2c83e514c86a3de8f78f6af02.zip
PCI: Remove unused 'node' member from struct pci_driver
Remove the unused 'node' member. It got replaced by device_driver chaining more than 20 years ago in commit 4b4a837f2b57 ("PCI: start to use common fields of struct device_driver more...") of the history.git tree. Link: https://lore.kernel.org/r/20231220133505.8798-1-minipli@grsecurity.net Signed-off-by: Mathias Krause <minipli@grsecurity.net> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Acked-by: Kalle Valo <kvalo@kernel.org>
Diffstat (limited to 'include/linux/pci.h')
-rw-r--r--include/linux/pci.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/pci.h b/include/linux/pci.h
index 60ca768bc867..1a89dc66f89a 100644
--- a/include/linux/pci.h
+++ b/include/linux/pci.h
@@ -885,7 +885,6 @@ struct module;
/**
* struct pci_driver - PCI driver structure
- * @node: List of driver structures.
* @name: Driver name.
* @id_table: Pointer to table of device IDs the driver is
* interested in. Most drivers should export this
@@ -940,7 +939,6 @@ struct module;
* own I/O address space.
*/
struct pci_driver {
- struct list_head node;
const char *name;
const struct pci_device_id *id_table; /* Must be non-NULL for probe to be called */
int (*probe)(struct pci_dev *dev, const struct pci_device_id *id); /* New device inserted */