Received: by 2002:a05:6358:f14:b0:e5:3b68:ec04 with SMTP id b20csp305498rwj; Fri, 23 Dec 2022 01:27:12 -0800 (PST) X-Google-Smtp-Source: AMrXdXtBdv8RrvXXuls6kr3/9gm87SnkXb3YZCY5m+ROeDvb32WK0ZP6gyffIjSD0wMJ+Ja3/tyl X-Received: by 2002:a62:ab0c:0:b0:578:43e3:f48e with SMTP id p12-20020a62ab0c000000b0057843e3f48emr10358793pff.16.1671787632564; Fri, 23 Dec 2022 01:27:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671787632; cv=none; d=google.com; s=arc-20160816; b=OO7y0KVLr4+CrjA/l4GmH5NL0qosOcCYDMJAKetH/qafzR2wOwnV0SWAAqo9r3spgI 6u+7v23fOyMphflXofNrlnYOieRklTbYCBI1pchWtNaiWbforwyzencWirTcS+rwbK6v QqfYGHF8s166haGMyol+fA/88n6SYgkXgNwGO4hLmlaQn3oWZRF3OjuZBFlZZ5faRW+r DjBAfD4DFLBLVCGKOZI8FjVt/GCgITzz0c7C388T+/gTbYKqKmro7RbZhm003GnxigVY pW1wUL7gMIyo0pRlaLFcm2qPjzh9Qks50SHHNLL4sf2ZscsVk5z9UtIPjy5pME20EZ7e YckQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from; bh=g8yYTPFN4ZFR+spHJ2SxYCyh7bmYl2pWkkasXM0mB6E=; b=G2uQubQp+ljb7Zd9Wm90fADHdGh7uawCT+0fLInqTqlbQHBUb+FWWPXXc9SfwORnu0 v+/rKUCHCBVh9kWgtpHgBtUsTddSFOJ5xyOVB8uI7sFlQ1fga3OU7zO/iq80OYM6Vj8/ 0TuOU5dNJLIt2JyO6UDtjZHr7nNqXyh5Kk7AKpCFlw83LNT4el+NSaRMXF7KWkO5VKu9 nDqG81GAJKc73ocWHKpOiSvnr93CWHHwwqLcjOMK4FMCh8AY7lvyP6thp09PrZ3JLS4W kDmX8vbYuWg+q1MS3Bpw/uXGa9sBDACPr2c7+J7PWmoGHo6xHd7fzbazcAHMz1/21qQY l+pw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g22-20020a056a0023d600b00577e14babaesi3265291pfc.4.2022.12.23.01.27.04; Fri, 23 Dec 2022 01:27:12 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235877AbiLWJC1 (ORCPT + 67 others); Fri, 23 Dec 2022 04:02:27 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42280 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229483AbiLWJCZ (ORCPT ); Fri, 23 Dec 2022 04:02:25 -0500 Received: from mail.nfschina.com (unknown [124.16.136.209]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id C473413F1D; Fri, 23 Dec 2022 01:02:24 -0800 (PST) Received: from localhost (unknown [127.0.0.1]) by mail.nfschina.com (Postfix) with ESMTP id 096AF1E80D9F; Fri, 23 Dec 2022 16:57:14 +0800 (CST) X-Virus-Scanned: amavisd-new at test.com Received: from mail.nfschina.com ([127.0.0.1]) by localhost (mail.nfschina.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id M1yD8bPgDfRs; Fri, 23 Dec 2022 16:57:11 +0800 (CST) Received: from localhost.localdomain (unknown [219.141.250.2]) (Authenticated sender: zhoujie@nfschina.com) by mail.nfschina.com (Postfix) with ESMTPA id 39D851E80D96; Fri, 23 Dec 2022 16:57:11 +0800 (CST) From: Zhou jie To: rafael@kernel.org, lenb@kernel.org Cc: linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org, kernel.nfschina.com@lists.nfsmail.com, Zhou jie Subject: [PATCH] drivers/acpi:remove unnecessary (void*) conversions Date: Fri, 23 Dec 2022 17:02:15 +0800 Message-Id: <20221223090215.8704-1-zhoujie@nfschina.com> X-Mailer: git-send-email 2.18.2 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The void * type pointer does not need to be cast. Signed-off-by: Zhou jie --- 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(); -- 2.18.2