diff options
author | Lv Zheng <lv.zheng@intel.com> | 2013-10-30 21:30:53 -0400 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-10-31 09:37:34 -0400 |
commit | 2faa046485721c05ad3999bc6c8f6ced7017ef27 (patch) | |
tree | 45b84b65fd849793c0c38af32886fc60f8ebd491 | |
parent | 6208a3dd370c73101d28d761f562723755108803 (diff) |
ACPICA: Remove dead AOPOBJ_INVALID check.
Reversion commit 7cb7f45c7fee (Revert "ACPICA: Remove obsolete
acpi_os_validate_address interface") restored a piece of dead code
related to an obselete AOPOBJ_INVALID flag. Remove that code again.
This helps to reduce source code differences between Linux and ACPICA
upstream.
[rjw: Changelog]
Signed-off-by: Lv Zheng <lv.zheng@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
-rw-r--r-- | drivers/acpi/acpica/exfldio.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/acpi/acpica/exfldio.c b/drivers/acpi/acpica/exfldio.c index 8ab01b613a18..49fb742d61b9 100644 --- a/drivers/acpi/acpica/exfldio.c +++ b/drivers/acpi/acpica/exfldio.c | |||
@@ -123,12 +123,6 @@ acpi_ex_setup_region(union acpi_operand_object *obj_desc, | |||
123 | } | 123 | } |
124 | } | 124 | } |
125 | 125 | ||
126 | /* Exit if Address/Length have been disallowed by the host OS */ | ||
127 | |||
128 | if (rgn_desc->common.flags & AOPOBJ_INVALID) { | ||
129 | return_ACPI_STATUS(AE_AML_ILLEGAL_ADDRESS); | ||
130 | } | ||
131 | |||
132 | /* | 126 | /* |
133 | * Exit now for SMBus, GSBus or IPMI address space, it has a non-linear | 127 | * Exit now for SMBus, GSBus or IPMI address space, it has a non-linear |
134 | * address space and the request cannot be directly validated | 128 | * address space and the request cannot be directly validated |