summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorDr. David Alan Gilbert <linux@treblig.org>2024-05-02 18:48:21 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-07-03 17:44:22 +0300
commitf9a748fa5ce0958bea2a03c25f092fbc22e72c67 (patch)
treebe25977d02e3da2cc973d9211f1acfe74e4ae1c1 /include/linux
parent2f3fd91b9e6e744fce3cde4e1f8dd6f320548c0e (diff)
downloadlinux-f9a748fa5ce0958bea2a03c25f092fbc22e72c67.tar.xz
parport: Remove 'drivers' list
The list has been empty since: 'commit 3275158fa52a ("parport: remove use of devmodel")' This also means we can remove the 'list_head' from struct parport_driver. Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org> Acked-by: Sudip Mukherjee <sudipm.mukherjee@gmail.com> Link: https://lore.kernel.org/r/20240502154823.67235-2-linux@treblig.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/parport.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/parport.h b/include/linux/parport.h
index fff39bc30629..2a4424b60156 100644
--- a/include/linux/parport.h
+++ b/include/linux/parport.h
@@ -258,7 +258,6 @@ struct parport_driver {
int (*probe)(struct pardevice *);
struct device_driver driver;
bool devmodel;
- struct list_head list;
};
#define to_parport_driver(n) container_of(n, struct parport_driver, driver)