diff options
author | Jeff Garzik <jgarzik@pobox.com> | 2005-11-09 01:07:12 -0500 |
---|---|---|
committer | Jeff Garzik <jgarzik@pobox.com> | 2005-11-09 01:07:12 -0500 |
commit | a892acacd3a8546ac161526522f13b5174f2c471 (patch) | |
tree | ee6d36f27f1388989ebfcabf90253fb7194112ac /drivers/acpi/container.c | |
parent | 193515d51ccb363165d6b09e9ba5c21089e34bad (diff) | |
parent | 330d57fb98a916fa8e1363846540dd420e99499a (diff) |
Merge branch 'master'
Diffstat (limited to 'drivers/acpi/container.c')
-rw-r--r-- | drivers/acpi/container.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/acpi/container.c b/drivers/acpi/container.c index 10dd695a1dd9..27ec12c1fab0 100644 --- a/drivers/acpi/container.c +++ b/drivers/acpi/container.c | |||
@@ -118,11 +118,9 @@ static int acpi_container_remove(struct acpi_device *device, int type) | |||
118 | { | 118 | { |
119 | acpi_status status = AE_OK; | 119 | acpi_status status = AE_OK; |
120 | struct acpi_container *pc = NULL; | 120 | struct acpi_container *pc = NULL; |
121 | pc = (struct acpi_container *)acpi_driver_data(device); | ||
122 | |||
123 | if (pc) | ||
124 | kfree(pc); | ||
125 | 121 | ||
122 | pc = (struct acpi_container *)acpi_driver_data(device); | ||
123 | kfree(pc); | ||
126 | return status; | 124 | return status; |
127 | } | 125 | } |
128 | 126 | ||