Skip to content
Snippets Groups Projects
Commit c9ad8e06 authored by Len Brown's avatar Len Brown
Browse files

ACPI: acpi_pad: simplify code to avoid false gcc build warning


acpi_pad.c:432: warning: ‘num_cpus’ may be used uninitialized in this function

gcc 4.4.4 was unable to notice that num_cpus is always set.
Re-arrange the code to un-confuse gcc, and also make
it easier for humans to read....

Signed-off-by: default avatarLen Brown <len.browns@intel.com>
parent 25cb1bfd
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment