diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2013-03-11 05:17:05 -0400 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-03-24 19:05:48 -0400 |
commit | 2d5914ccf9b359d40de27eefd1761ddc93785376 (patch) | |
tree | c50ebd7d62edce931ae1bd39aec883ffc244948b /drivers/acpi/processor_throttling.c | |
parent | 6270da6f4d5a7e13cff98585d25c6742aec5a33c (diff) |
ACPI: suppress compiler warnings in processor_throttling.c
This patch fixes following compiler warnings when build via make W=1:
drivers/acpi/processor_throttling.c: In function ‘acpi_processor_throttling_init’:
drivers/acpi/processor_throttling.c:216:40: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body]
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi/processor_throttling.c')
-rw-r--r-- | drivers/acpi/processor_throttling.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/acpi/processor_throttling.c b/drivers/acpi/processor_throttling.c index 1d02b7b5ade0..e7dd2c1fee79 100644 --- a/drivers/acpi/processor_throttling.c +++ b/drivers/acpi/processor_throttling.c | |||
@@ -211,9 +211,10 @@ err_ret: | |||
211 | */ | 211 | */ |
212 | void acpi_processor_throttling_init(void) | 212 | void acpi_processor_throttling_init(void) |
213 | { | 213 | { |
214 | if (acpi_processor_update_tsd_coord()) | 214 | if (acpi_processor_update_tsd_coord()) { |
215 | ACPI_DEBUG_PRINT((ACPI_DB_INFO, | 215 | ACPI_DEBUG_PRINT((ACPI_DB_INFO, |
216 | "Assume no T-state coordination\n")); | 216 | "Assume no T-state coordination\n")); |
217 | } | ||
217 | 218 | ||
218 | return; | 219 | return; |
219 | } | 220 | } |