Skip to content

Commit fbf757e

Browse files
Zhou jierafaeljw
authored andcommitted
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>
1 parent 1b929c0 commit fbf757e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/acpi/processor_idle.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ static void lapic_timer_check_state(int state, struct acpi_processor *pr,
147147

148148
static void __lapic_timer_propagate_broadcast(void *arg)
149149
{
150-
struct acpi_processor *pr = (struct acpi_processor *) arg;
150+
struct acpi_processor *pr = arg;
151151

152152
if (pr->power.timer_broadcast_on_state < INT_MAX)
153153
tick_broadcast_enable();

0 commit comments

Comments
 (0)