Received: by 2002:a05:6358:e9c4:b0:b2:91dc:71ab with SMTP id hc4csp5434588rwb; Mon, 8 Aug 2022 19:49:46 -0700 (PDT) X-Google-Smtp-Source: AA6agR786/w0GLx1ViuigoYYSXH3SEGkYzHnXbGge4jfS0jKQ//3eXWF5R9+3OkXu4Pz9FfQEY2Z X-Received: by 2002:a17:902:8c92:b0:170:aff6:e3a6 with SMTP id t18-20020a1709028c9200b00170aff6e3a6mr6569680plo.164.1660013385763; Mon, 08 Aug 2022 19:49:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660013385; cv=none; d=google.com; s=arc-20160816; b=Oqnx9gH9yg5EBMoHwYG03iUwkevW7VUQFt2avO3ouC6m00Ihqkp9AWpK2Hb+mGiL2y UhA6pBccHtllV4yMgQD8HP/TcuLEsOlIs7QPMS3zjD3XCPfDhDP5OpZlVno6aiHs7p/E gsArgIQHkD4uV2gyR4w8QMG5giGkmulr8BCUIFs6zD0qC/ToTxAo6WRkMQ1sL38wqsAl ztr3/kNrfBdR/6FwcdpbinM7b/skQRtHV9o0JYPmFVM90RqHOVmrjSnAgVDRCx78KexR shlW3ZVIzVhoC2N/h3sxErWKTX5vbk/3NrOZz/GsOd6kzQscb7LzKuPBFZFAQ0wWqInX hNZg== 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=SrglvjI6y8lS4bdf2vMAbtFgQRVM/GgOdPHyo5fRK+q0f5xKVAOnMikZ0cG/gV7svn UyaEFWKLWIUEN8EEtSNtKKa4WU+heibJT7c8H22Dn/ZPceeSCfNS7UI5TRh42bg2saUD hJU2D+5O1BZ9Uvch6CWuvZ6K2Hv0EoC7F16gITco5qIY8Q6ijZsoKrZPk7aa+2AWm9xa OuewYIdzvDCclT16DY9LzsnPxEtDZsRv5tLDRcOs45tLfQdYq3RP5GunWJzOAWj4gwmv +WhWSBaqNeccsI4X7cuPNAvVgZb+2G/2ezAYgVO8jk27190iVGoAwYbMUPpbjJ3bhZsJ wZEQ== 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 q65-20020a634344000000b0041966e8d63csi12354073pga.396.2022.08.08.19.49.24; Mon, 08 Aug 2022 19:49:45 -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 S229992AbiHICVd (ORCPT + 99 others); Mon, 8 Aug 2022 22:21:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60918 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229530AbiHICV3 (ORCPT ); Mon, 8 Aug 2022 22:21:29 -0400 Received: from mail.nfschina.com (unknown [IPv6:2400:dd01:100f:2:72e2:84ff:fe10:5f45]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 437A6193D0 for ; Mon, 8 Aug 2022 19:21:28 -0700 (PDT) Received: from localhost (unknown [127.0.0.1]) by mail.nfschina.com (Postfix) with ESMTP id 6F5D21E80CD2; Tue, 9 Aug 2022 10:19:45 +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 qVxw8NlsAiae; Tue, 9 Aug 2022 10:19:42 +0800 (CST) Received: from localhost.localdomain (unknown [219.141.250.2]) (Authenticated sender: zeming@nfschina.com) by mail.nfschina.com (Postfix) with ESMTPA id B4D7D1E80CC5; Tue, 9 Aug 2022 10:19:42 +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:21:22 +0800 Message-Id: <20220809022122.3419-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