summaryrefslogtreecommitdiff
path: root/drivers/acpi/acpica/rscalc.c
diff options
context:
space:
mode:
authorBob Moore <robert.moore@intel.com>2009-04-22 09:02:06 +0400
committerLen Brown <len.brown@intel.com>2009-05-27 08:30:49 +0400
commite4c1ebfc65c125b1289144f5815715f238367683 (patch)
tree9039c8070d82656fb7aab9eba495b307f803847b /drivers/acpi/acpica/rscalc.c
parent65259094c3e038519a2d8fa6fbc6256f04ad6535 (diff)
downloadlinux-e4c1ebfc65c125b1289144f5815715f238367683.tar.xz
ACPICA: Miscellaneous lint changes
Unused variables/headers, casting, etc. Signed-off-by: Bob Moore <robert.moore@intel.com> Signed-off-by: Lin Ming <ming.m.lin@intel.com> Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi/acpica/rscalc.c')
-rw-r--r--drivers/acpi/acpica/rscalc.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/acpi/acpica/rscalc.c b/drivers/acpi/acpica/rscalc.c
index 88b5a2c4814d..d3f77a5df79d 100644
--- a/drivers/acpi/acpica/rscalc.c
+++ b/drivers/acpi/acpica/rscalc.c
@@ -593,9 +593,6 @@ acpi_rs_get_pci_routing_table_length(union acpi_operand_object *package_object,
} else {
temp_size_needed +=
acpi_ns_get_pathname_length((*sub_object_list)->reference.node);
- if (!temp_size_needed) {
- return_ACPI_STATUS(AE_BAD_PARAMETER);
- }
}
} else {
/*