aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/acpi
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2022-06-13 20:38:00 +0200
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2022-07-01 21:20:12 +0200
commite6bdbcc764af822ff7172a4a78d437dc433a0c74 (patch)
tree3dabe1ec3a32e548b08cb64b677d11f946a7adf2 /include/acpi
parenthisi_lpc: Use acpi_dev_for_each_child() (diff)
downloadwireguard-linux-e6bdbcc764af822ff7172a4a78d437dc433a0c74.tar.xz
wireguard-linux-e6bdbcc764af822ff7172a4a78d437dc433a0c74.zip
ACPI: bus: Drop unused list heads from struct acpi_device
Drop the children and node list heads that have no more users from struct acpi_device and the code manipulating them from __acpi_device_add() and acpi_device_del(). Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Diffstat (limited to 'include/acpi')
-rw-r--r--include/acpi/acpi_bus.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/acpi/acpi_bus.h b/include/acpi/acpi_bus.h
index ab239a35cb2a..48f0fd499274 100644
--- a/include/acpi/acpi_bus.h
+++ b/include/acpi/acpi_bus.h
@@ -365,8 +365,6 @@ struct acpi_device {
acpi_handle handle; /* no handle for fixed hardware */
struct fwnode_handle fwnode;
struct acpi_device *parent;
- struct list_head children;
- struct list_head node;
struct list_head wakeup_list;
struct list_head del_list;
struct acpi_device_status status;