Received: by 2002:a05:6358:e9c4:b0:b2:91dc:71ab with SMTP id hc4csp5453280rwb; Mon, 8 Aug 2022 20:16:44 -0700 (PDT) X-Google-Smtp-Source: AA6agR718qGrHrVbk+FSyh4KaIvxuSY/OXyLCXkGBlDVPBsxwwSZJwYuYff0X4/4fSI6tWMdAAk4 X-Received: by 2002:aa7:8317:0:b0:52d:640e:322e with SMTP id bk23-20020aa78317000000b0052d640e322emr21230452pfb.4.1660015004353; Mon, 08 Aug 2022 20:16:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660015004; cv=none; d=google.com; s=arc-20160816; b=A1a3AP88h+5Ui+e8GTdni99GcMNsm1Q0+iVEgsfqnqGP6VbGH5bCr1h5newYyI0JZM fFLtfVYyJs1VfLltUoll4PEVcyO2ZajYPNIE3doHCTZSqPy9TZq/kZZc4491IDGKF8+b 4yG/eTeO8s0ZHog+tvZQZ8TDLNemt8AeiMdfo8472Kyf1IHHFX83M20nBfSS77zh3bib 2oZHuWmJ0eWAv+RvHiGFQkig49/hSRhMeDc9D+gawkuhNXvOrB82Q66zpQABtFb2lvyW mOjVFV5+iURQclIsqHbN2YyNTSL0Y+BYAjNnQsbmo2Krnp2KLkKvOiJg2JaLQfqoYaAG V+ZA== 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=fjOp88CNR8+vab6liZJRXUvJA3RoKYBtsNUAFfCKmoY=; b=mwTvomkmvE+rcSIgINXl6izHO1519XIwf+mfIeD9lzlaIX+KEXuY9zoH7/TYrsjGvw bwdF8NotELEeLqNNeZRoNHlnstFMbIqXxtFrlm09TIH+87yA9QOLk7roiD19xG7dp0HG pTBKiBz1EjEhfH77GKF98pVqez+Z/tb2xfUOBcgvIjR+c9anqoZT0Ia49agEBR327XFs fG0fCZIZObxozw/wDYuIcDeazlcqaOgaiSDhQrXm2N/wQa4hT3G9TRO4rVEhY/Yn8lTK s+bzhA/Pc7dAvE0hRDrFlFo/i3Wciwh+H5GF9xCuMV3h3n+h+TNFkRkrWL+LQxDzxi7/ XSiA== 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 i7-20020a633c47000000b0040ca1fee045si1820863pgn.224.2022.08.08.20.16.29; Mon, 08 Aug 2022 20:16:44 -0700 (PDT) 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 S229817AbiHIC3B (ORCPT + 99 others); Mon, 8 Aug 2022 22:29:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35808 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229730AbiHIC27 (ORCPT ); Mon, 8 Aug 2022 22:28:59 -0400 Received: from mail.nfschina.com (unknown [IPv6:2400:dd01:100f:2:72e2:84ff:fe10:5f45]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id EAC0B1DA7B for ; Mon, 8 Aug 2022 19:28:57 -0700 (PDT) Received: from localhost (unknown [127.0.0.1]) by mail.nfschina.com (Postfix) with ESMTP id 1C7C71E80D70; Tue, 9 Aug 2022 10:27:15 +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 jZfl98rddBBs; Tue, 9 Aug 2022 10:27:12 +0800 (CST) Received: from localhost.localdomain (unknown [219.141.250.2]) (Authenticated sender: zeming@nfschina.com) by mail.nfschina.com (Postfix) with ESMTPA id 428D71E80D0A; Tue, 9 Aug 2022 10:27:12 +0800 (CST) From: Li zeming To: daniel.lezcano@linaro.org, tglx@linutronix.de, orsonzhai@gmail.com, baolin.wang@linux.alibaba.com, zhang.lyra@gmail.com Cc: linux-kernel@vger.kernel.org, Li zeming Subject: [PATCH] clocksource: remove unnecessary (void*) conversions. Date: Tue, 9 Aug 2022 10:28:52 +0800 Message-Id: <20220809022852.3488-1-zeming@nfschina.com> X-Mailer: git-send-email 2.18.2 X-Spam-Status: No, score=-1.1 required=5.0 tests=BAYES_00,RDNS_NONE, SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 Remove unnecessary void* type castings. Signed-off-by: Li zeming --- drivers/clocksource/timer-sprd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clocksource/timer-sprd.c b/drivers/clocksource/timer-sprd.c index 430cb99d8d79..9b97fd87fbe9 100644 --- a/drivers/clocksource/timer-sprd.c +++ b/drivers/clocksource/timer-sprd.c @@ -109,7 +109,7 @@ static int sprd_timer_shutdown(struct clock_event_device *ce) static irqreturn_t sprd_timer_interrupt(int irq, void *dev_id) { - struct clock_event_device *ce = (struct clock_event_device *)dev_id; + struct clock_event_device *ce = dev_id; struct timer_of *to = to_timer_of(ce); sprd_timer_clear_interrupt(timer_of_base(to)); -- 2.18.2