diff options
author | Zhou jie <zhoujie@nfschina.com> | 2022-12-23 17:02:15 +0800 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2022-12-30 18:56:37 +0100 |
commit | fbf757e55afbd8b4d36f4808a6ae9107afeb79f3 (patch) | |
tree | 0061e6ebd24192d4628ddd25d3e4080ba986d8d4 /drivers/acpi/processor_idle.c | |
parent | 1b929c02afd37871d5afb9d498426f83432e71c2 (diff) | |
download | linux-stable-fbf757e55afbd8b4d36f4808a6ae9107afeb79f3.tar.gz linux-stable-fbf757e55afbd8b4d36f4808a6ae9107afeb79f3.tar.bz2 linux-stable-fbf757e55afbd8b4d36f4808a6ae9107afeb79f3.zip |
ACPI: processor: idle: Drop unnecessary (void *) conversion
The (void *) type pointer does not need to be cast, so don't do
that in lapic_timer_check_state().
Signed-off-by: Zhou jie <zhoujie@nfschina.com>
[ rjw: Subject and changelog edits ]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi/processor_idle.c')
-rw-r--r-- | drivers/acpi/processor_idle.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/processor_idle.c b/drivers/acpi/processor_idle.c index 7bf882fcd64b..5a01c2a1567f 100644 --- a/drivers/acpi/processor_idle.c +++ b/drivers/acpi/processor_idle.c @@ -147,7 +147,7 @@ static void lapic_timer_check_state(int state, struct acpi_processor *pr, static void __lapic_timer_propagate_broadcast(void *arg) { - struct acpi_processor *pr = (struct acpi_processor *) arg; + struct acpi_processor *pr = arg; if (pr->power.timer_broadcast_on_state < INT_MAX) tick_broadcast_enable(); |