ACPI / dock: Drop dock_device_ids[] table
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 7 Apr 2014 12:11:35 +0000 (14:11 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 7 Apr 2014 12:11:35 +0000 (14:11 +0200)
There are no references to the dock_device_ids[] table anywhere in
the code and it is not even useful for module autoloading, because
the dock driver can only be built in, so drop it.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/dock.c

index f0fc6260266bfe852a7228b7f64bf8db40ce4bb9..d9339b442a4ebdc6870d4dd0b4dac4db65ed8613 100644 (file)
@@ -51,12 +51,6 @@ MODULE_PARM_DESC(immediate_undock, "1 (default) will cause the driver to "
        " the driver to wait for userspace to write the undock sysfs file "
        " before undocking");
 
-static const struct acpi_device_id dock_device_ids[] = {
-       {"LNXDOCK", 0},
-       {"", 0},
-};
-MODULE_DEVICE_TABLE(acpi, dock_device_ids);
-
 struct dock_station {
        acpi_handle handle;
        unsigned long last_dock_time;