diff options
author | Colin Ian King <colin.king@canonical.com> | 2016-02-15 17:40:04 -0500 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2016-03-09 17:29:07 -0500 |
commit | 0f9aeb7a6a84b1b72efe4e6ac32eb5028e25bb28 (patch) | |
tree | dc2a09e69178ecf5f540cb04db218ae1ddbbad91 | |
parent | f6cede5b49e822ebc41a099fe41ab4989f64e2cb (diff) |
ACPI / video: remove unused device_decode array
device_decode is now no longer used, so we may as well remove it.
Fixes gcc 6 warning:
drivers/acpi/acpi_video.c:221:19: warning: ‘device_decode’ defined
but not used [-Wunused-const-variable]
static const char device_decode[][30] = {
^~~~~~~~~~~~~
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
-rw-r--r-- | drivers/acpi/acpi_video.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/acpi/acpi_video.c b/drivers/acpi/acpi_video.c index a76f8be1bfe7..4361bc98ef4c 100644 --- a/drivers/acpi/acpi_video.c +++ b/drivers/acpi/acpi_video.c | |||
@@ -218,13 +218,6 @@ struct acpi_video_device { | |||
218 | struct thermal_cooling_device *cooling_dev; | 218 | struct thermal_cooling_device *cooling_dev; |
219 | }; | 219 | }; |
220 | 220 | ||
221 | static const char device_decode[][30] = { | ||
222 | "motherboard VGA device", | ||
223 | "PCI VGA device", | ||
224 | "AGP VGA device", | ||
225 | "UNKNOWN", | ||
226 | }; | ||
227 | |||
228 | static void acpi_video_device_notify(acpi_handle handle, u32 event, void *data); | 221 | static void acpi_video_device_notify(acpi_handle handle, u32 event, void *data); |
229 | static void acpi_video_device_rebind(struct acpi_video_bus *video); | 222 | static void acpi_video_device_rebind(struct acpi_video_bus *video); |
230 | static void acpi_video_device_bind(struct acpi_video_bus *video, | 223 | static void acpi_video_device_bind(struct acpi_video_bus *video, |