Re: [PATCH] drivers/acpi:remove unnecessary (void*) conversions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Dec 23, 2022 at 10:02 AM Zhou jie <zhoujie@xxxxxxxxxxxx> wrote:
>
> The void * type pointer does not need to be cast.
>
> Signed-off-by: Zhou jie <zhoujie@xxxxxxxxxxxx>
> ---
>  drivers/acpi/processor_idle.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/acpi/processor_idle.c b/drivers/acpi/processor_idle.c
> index 4556c86c3465..3be86d2f9098 100644
> --- a/drivers/acpi/processor_idle.c
> +++ b/drivers/acpi/processor_idle.c
> @@ -150,7 +150,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();
> --

Applied as 6.3 material with some edits in the subject and changelog, thanks!



[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]
  Powered by Linux