diff options
author | Len Brown <len.brown@intel.com> | 2010-09-28 16:50:50 -0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2010-09-29 14:08:10 -0400 |
commit | c9ad8e062e4c733b36fc10ebc201bedde1a4da80 (patch) | |
tree | 3133de2d6ac31ddb0fc212d56cb48ed2141289dc /drivers/acpi/fan.c | |
parent | 25cb1bfdd8256cd1c614947e1696e42176ac22ec (diff) |
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: Len Brown <len.browns@intel.com>
Diffstat (limited to 'drivers/acpi/fan.c')
0 files changed, 0 insertions, 0 deletions