aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/acpi/video.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/acpi/video.c b/drivers/acpi/video.c
index 8851315ce858..a0cd0c7ee9e2 100644
--- a/drivers/acpi/video.c
+++ b/drivers/acpi/video.c
@@ -934,9 +934,6 @@ static void acpi_video_device_find_cap(struct acpi_video_device *device)
934{ 934{
935 acpi_handle h_dummy1; 935 acpi_handle h_dummy1;
936 936
937
938 memset(&device->cap, 0, sizeof(device->cap));
939
940 if (ACPI_SUCCESS(acpi_get_handle(device->dev->handle, "_ADR", &h_dummy1))) { 937 if (ACPI_SUCCESS(acpi_get_handle(device->dev->handle, "_ADR", &h_dummy1))) {
941 device->cap._ADR = 1; 938 device->cap._ADR = 1;
942 } 939 }
@@ -1039,7 +1036,6 @@ static void acpi_video_bus_find_cap(struct acpi_video_bus *video)
1039{ 1036{
1040 acpi_handle h_dummy1; 1037 acpi_handle h_dummy1;
1041 1038
1042 memset(&video->cap, 0, sizeof(video->cap));
1043 if (ACPI_SUCCESS(acpi_get_handle(video->device->handle, "_DOS", &h_dummy1))) { 1039 if (ACPI_SUCCESS(acpi_get_handle(video->device->handle, "_DOS", &h_dummy1))) {
1044 video->cap._DOS = 1; 1040 video->cap._DOS = 1;
1045 } 1041 }