Commit fbd401e
committed
ACPI: processor: idle: Redefine two functions as void
Notice that acpi_processor_power_init() and acpi_processor_power_exit()
don't need to return any values because their callers don't check them
anyway, so redefine those functions as void.
While at it, rearrange the code in acpi_processor_power_init() to
reduce the indentation level, get rid of a redundant local variable
in that function, and rephrase a code comment in it.
No intentional functional impact.
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Reviewed-by: Mario Limonciello (AMD) <superm1@kernel.org>1 parent 8a1b5d4 commit fbd401e
2 files changed
+21
-24
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1400 | 1400 | | |
1401 | 1401 | | |
1402 | 1402 | | |
1403 | | - | |
| 1403 | + | |
1404 | 1404 | | |
1405 | | - | |
1406 | 1405 | | |
1407 | 1406 | | |
1408 | 1407 | | |
1409 | | - | |
| 1408 | + | |
1410 | 1409 | | |
1411 | 1410 | | |
1412 | 1411 | | |
1413 | 1412 | | |
1414 | 1413 | | |
1415 | 1414 | | |
1416 | | - | |
1417 | | - | |
1418 | | - | |
1419 | | - | |
1420 | | - | |
| 1415 | + | |
| 1416 | + | |
1421 | 1417 | | |
1422 | | - | |
| 1418 | + | |
| 1419 | + | |
| 1420 | + | |
1423 | 1421 | | |
1424 | | - | |
1425 | | - | |
1426 | | - | |
1427 | | - | |
1428 | | - | |
| 1422 | + | |
1429 | 1423 | | |
1430 | | - | |
1431 | | - | |
1432 | | - | |
1433 | | - | |
| 1424 | + | |
| 1425 | + | |
| 1426 | + | |
| 1427 | + | |
| 1428 | + | |
| 1429 | + | |
| 1430 | + | |
| 1431 | + | |
| 1432 | + | |
1434 | 1433 | | |
1435 | | - | |
1436 | 1434 | | |
1437 | 1435 | | |
1438 | | - | |
| 1436 | + | |
1439 | 1437 | | |
1440 | 1438 | | |
1441 | 1439 | | |
1442 | 1440 | | |
1443 | | - | |
| 1441 | + | |
1444 | 1442 | | |
1445 | 1443 | | |
1446 | 1444 | | |
1447 | 1445 | | |
1448 | 1446 | | |
1449 | 1447 | | |
1450 | 1448 | | |
1451 | | - | |
1452 | 1449 | | |
1453 | 1450 | | |
1454 | 1451 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
419 | 419 | | |
420 | 420 | | |
421 | 421 | | |
422 | | - | |
423 | | - | |
| 422 | + | |
| 423 | + | |
424 | 424 | | |
425 | 425 | | |
426 | 426 | | |
| |||
0 commit comments