Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp4979675rwd; Sun, 11 Jun 2023 20:15:50 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6q6AE34PIGxfyZtrv5yyGATvr7VUN/JDbNdIxa/8EVLv5s69cwT0MwV/GTzJCTzmD4qYHg X-Received: by 2002:aa7:d841:0:b0:516:b182:4e58 with SMTP id f1-20020aa7d841000000b00516b1824e58mr4267314eds.32.1686539750531; Sun, 11 Jun 2023 20:15:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686539750; cv=none; d=google.com; s=arc-20160816; b=eIMEbONUDYFqU4v8IKlFkEABLf81V1riMKWAvYymKy0veVcihBcOJm7SZDZd3GAiB1 PX6s5XtKXhNQgOaEZAVGy5uNGaguF+i1eMZdgkgtC3fJtyqQkV94ks5e2Woh4NDC1ru4 enfW+xVkBAjagCGVLCpE0c2ChpBxHrEkMS42FVt3mQufbeYiJESjVMc5tFvxEWFRRo9Q 3wkS8/ZC7h5wHmnckHQg+23ZzG2KYbhD0eBsHA6kh9X8k5dJxAyc7I7VjCcJNSMLl+uM vclc/AjND1QvPIDH8iUC4qRrm67AiI1wyANGXE7/4TxSO6r0uv+L/wImMnkrcXAxjd0p Cxtw== 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=WShenu91aQQzqF2MkFpYD8WApKKBOkY/8P9o8o5E2+M=; b=FJttjkzfFL3uV1het2ymHfSZPdBLV5B2sewj5HR1Zvy9jLaeicb+GW25kfoUDmD13r Sq0Dw/7x27U/F7O8nbPOiN7zBeFwQxGULDZCGXPEtxB0hPzpQ+qLrnJ6YWDPUbXzhs8p /oWYm0/pd9QyFrdBFkVOhUqHNOTOflosm+LMlaBkY8qZTQVbi7DV1gER7Cs9azLYCOYt v1atOSgRTUwtSA3OZA8x5ew+vZWcr8py1RRzaN1ggsdclpNkkqJbBD8xeAdlGghNiVJR wL/gMa7iCRxIn307BQQ5fHqB59bwrfU1brQSnbUK8Ypip5SJJro7vd2W5qwNKkRM982D FORw== 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 l20-20020a056402125400b00514945a72d3si5789732edw.352.2023.06.11.20.15.25; Sun, 11 Jun 2023 20:15:50 -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 S232732AbjFLDII (ORCPT + 99 others); Sun, 11 Jun 2023 23:08:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45554 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232117AbjFLDIF (ORCPT ); Sun, 11 Jun 2023 23:08:05 -0400 Received: from mail.nfschina.com (unknown [42.101.60.195]) by lindbergh.monkeyblade.net (Postfix) with SMTP id 0683910D for ; Sun, 11 Jun 2023 20:08:03 -0700 (PDT) Received: from localhost.localdomain (unknown [219.141.250.2]) by mail.nfschina.com (Maildata Gateway V2.8.8) with ESMTPA id 6F615602B440F; Mon, 12 Jun 2023 11:08:01 +0800 (CST) X-MD-Sfrom: zeming@nfschina.com X-MD-SrcIP: 219.141.250.2 From: Li zeming To: jstultz@google.com, tglx@linutronix.de, sboyd@kernel.org Cc: linux-kernel@vger.kernel.org, Li zeming Subject: [PATCH] time: clocksource: remove unnecessary (void*) conversions Date: Wed, 14 Jun 2023 03:39:19 +0800 Message-Id: <20230613193919.3439-1-zeming@nfschina.com> X-Mailer: git-send-email 2.18.2 X-Spam-Status: No, score=0.9 required=5.0 tests=BAYES_00,DATE_IN_FUTURE_24_48, RDNS_NONE,SPF_HELO_NONE,SPF_PASS,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 Pointer variables of void * type do not require type cast. Signed-off-by: Li zeming --- kernel/time/clocksource.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/time/clocksource.c b/kernel/time/clocksource.c index 91836b727cef..82087cec5b07 100644 --- a/kernel/time/clocksource.c +++ b/kernel/time/clocksource.c @@ -327,7 +327,7 @@ static void clocksource_verify_choose_cpus(void) static void clocksource_verify_one_cpu(void *csin) { - struct clocksource *cs = (struct clocksource *)csin; + struct clocksource *cs = csin; csnow_mid = cs->read(cs); } -- 2.18.2