Skip to content

Commit

Permalink
ACPI: processor: idle: Drop unnecessary (void *) conversion
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Zhou jie authored and Rafael J. Wysocki committed Dec 30, 2022
1 parent 1b929c0 commit fbf757e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/acpi/processor_idle.c
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit fbf757e

Please sign in to comment.