Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 32018
b: refs/heads/master
c: d07a857
h: refs/heads/master
v: v3
  • Loading branch information
Patrick Mochel authored and Len Brown committed Jun 30, 2006
1 parent 03e263b commit 860c6b3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 8a4444bf5a3fd890441e6cbd5022a3c24edbe69a
refs/heads/master: d07a8577f695c807977af003b6e75f996e01a15f
4 changes: 0 additions & 4 deletions trunk/drivers/acpi/video.c
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,6 @@ struct acpi_video_enumerated_device {
};

struct acpi_video_bus {
acpi_handle handle;
struct acpi_device *device;
u8 dos_setting;
struct acpi_video_enumerated_device *attached_array;
Expand Down Expand Up @@ -156,7 +155,6 @@ struct acpi_video_device_brightness {
};

struct acpi_video_device {
acpi_handle handle;
unsigned long device_id;
struct acpi_video_device_flags flags;
struct acpi_video_device_cap cap;
Expand Down Expand Up @@ -1271,7 +1269,6 @@ acpi_video_bus_get_one_device(struct acpi_device *device,

memset(data, 0, sizeof(struct acpi_video_device));

data->handle = device->handle;
strcpy(acpi_device_name(device), ACPI_VIDEO_DEVICE_NAME);
strcpy(acpi_device_class(device), ACPI_VIDEO_CLASS);
acpi_driver_data(device) = data;
Expand Down Expand Up @@ -1704,7 +1701,6 @@ static int acpi_video_bus_add(struct acpi_device *device)
return -ENOMEM;
memset(video, 0, sizeof(struct acpi_video_bus));

video->handle = device->handle;
video->device = device;
strcpy(acpi_device_name(device), ACPI_VIDEO_BUS_NAME);
strcpy(acpi_device_class(device), ACPI_VIDEO_CLASS);
Expand Down

0 comments on commit 860c6b3

Please sign in to comment.