aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci/pci-acpi.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/pci/pci-acpi.c')
-rw-r--r--drivers/pci/pci-acpi.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/drivers/pci/pci-acpi.c b/drivers/pci/pci-acpi.c
index b5ac810404c0..c8062494009f 100644
--- a/drivers/pci/pci-acpi.c
+++ b/drivers/pci/pci-acpi.c
@@ -55,8 +55,6 @@ acpi_query_osc (
55 55
56 status = acpi_evaluate_object(handle, "_OSC", &input, &output); 56 status = acpi_evaluate_object(handle, "_OSC", &input, &output);
57 if (ACPI_FAILURE (status)) { 57 if (ACPI_FAILURE (status)) {
58 printk(KERN_DEBUG
59 "Evaluate _OSC Set fails. Status = 0x%04x\n", status);
60 *ret_status = status; 58 *ret_status = status;
61 return status; 59 return status;
62 } 60 }
@@ -124,11 +122,9 @@ acpi_run_osc (
124 in_params[3].buffer.pointer = (u8 *)context; 122 in_params[3].buffer.pointer = (u8 *)context;
125 123
126 status = acpi_evaluate_object(handle, "_OSC", &input, &output); 124 status = acpi_evaluate_object(handle, "_OSC", &input, &output);
127 if (ACPI_FAILURE (status)) { 125 if (ACPI_FAILURE (status))
128 printk(KERN_DEBUG
129 "Evaluate _OSC Set fails. Status = 0x%04x\n", status);
130 return status; 126 return status;
131 } 127
132 out_obj = output.pointer; 128 out_obj = output.pointer;
133 if (out_obj->type != ACPI_TYPE_BUFFER) { 129 if (out_obj->type != ACPI_TYPE_BUFFER) {
134 printk(KERN_DEBUG 130 printk(KERN_DEBUG