Bug 5336
Summary: | Two the same fragments of code should be compacted to one | ||
---|---|---|---|
Product: | ACPI | Reporter: | Valery A Podrezov (Valery.A.Podrezov) |
Component: | ACPICA-Core | Assignee: | Robert Moore (Robert.Moore) |
Status: | CLOSED CODE_FIX | ||
Severity: | normal | CC: | acpi-bugzilla |
Priority: | P2 | ||
Hardware: | i386 | ||
OS: | Linux | ||
Kernel Version: | 2.6 | Subsystem: | |
Regression: | --- | Bisected commit-id: | |
Attachments: | Proposed patch |
Description
Valery A Podrezov
2005-09-30 06:38:35 UTC
Created attachment 6195 [details]
Proposed patch
There are two the same fragments of code in the same routine
(AcpiExResolveMultiple, file interpreter/executer/exresolv.c)
which could be compacted to one. The patch attached provides
that minor update.
The only difference between the two fragments of code (34 lines each)
is like this:
.............................
< case AML_REF_OF_OP:
---
> case AML_INT_NAMEPATH_OP:
< Node = ObjDesc->Reference.Object;
---
> Node = ObjDesc->Reference.Node;
.............................
INTERNAL BUG NUMBER
173
Released in ACPICA version 20060210 ACPICA 20060608 shipped in Linux-2.6.17-git9, closed. |