Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp18557134rwd; Tue, 27 Jun 2023 19:53:26 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6gGzdfBsoJGsfcEQtwPKOBsfSM7FXOuOmuZvAaCua5VoZrQoiS+Pbbom64iRjutpWeeyvL X-Received: by 2002:a05:6830:120f:b0:6b7:2168:4ce8 with SMTP id r15-20020a056830120f00b006b721684ce8mr15672050otp.18.1687920806585; Tue, 27 Jun 2023 19:53:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687920806; cv=none; d=google.com; s=arc-20160816; b=1JvVo71+/IbLiLiH3kVH35j35jl7tgOde1FpC9W1/w4QM05gJPQxYU7enyGjDe+Cpd Cno92Jvbwu+N05Nip90R70Xlmyf9LAqtMTWbXbq226HSs8BMBVdkZyTqEewjIN/zQDT3 rWMU+ddIeBzzXRUvjVeHd7FH7QbJoU2MieLOmJh9ztbZcazfksFjgyc3Un+qStU+BrE3 dFinQs0HNeLbRlHkb0ck4MGSaTtFKoGgrxtvkw709jd1zf2CcZsY5axwtK+ETvdDuWF1 J3y8yuZ3lGfYzaXwlW4eqbN01xdFS3rI1Nga4HZwKduE6CX56fHV/NFirv6iWzid0bd9 uWSg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=iWblQzgBJgTHcq8elB+/R9lgiK7jWmWT5F5PH1iD+GM=; fh=xgxmCTsOGTmiDjAyFN1fbyi6QfentHiAlnyLwsLFN9Y=; b=0UQTSkCbSnClnd/RyOQrNLU+2OHdkIhPCHBal3XC3lVSbyICdPJjA547yOUNEUl2+Q F7nuc814W4TSyGaoxsX/ewXc4+Ro2C24c1VaNWDqLDX19kpPaN0gB90DfFyF+A29qYAA J6SQbfJifOCXJaRxxjliirx43toXJ1sefvNo0xQFlEqIj3NosmWMuH70MxPdtJpEHJNx yHvXxveB6ZZ0quIBiMNi4sIFe8nCp8w35Qmk5757x+UhZCSOQ+F6McJqECxdx4Qebgv2 RWYgj63a0ZG5qIw/iKJAR/dORsFIxhh9LArV+IAW3I6v0ms1XNovDxRjtHc74Lc8G/ZW 5TxA== 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 p13-20020a63e64d000000b0055759bb6888si7975077pgj.433.2023.06.27.19.53.14; Tue, 27 Jun 2023 19:53:26 -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 S231362AbjF1CpA (ORCPT + 99 others); Tue, 27 Jun 2023 22:45:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44132 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231419AbjF1Con (ORCPT ); Tue, 27 Jun 2023 22:44:43 -0400 Received: from mail.nfschina.com (unknown [42.101.60.195]) by lindbergh.monkeyblade.net (Postfix) with SMTP id DD4333598; Tue, 27 Jun 2023 19:44:31 -0700 (PDT) Received: from localhost.localdomain (unknown [180.167.10.98]) by mail.nfschina.com (Maildata Gateway V2.8.8) with ESMTPA id 854476032EB52; Wed, 28 Jun 2023 10:44:27 +0800 (CST) X-MD-Sfrom: yunchuan@nfschina.com X-MD-SrcIP: 180.167.10.98 From: wuych To: irusskikh@marvell.com, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com Cc: yunchuan@nfschina.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org Subject: [PATCH net-next 03/10] atlantic:hw_atl2:hw_atl2_utils_fw: Remove unnecessary (void*) conversions Date: Wed, 28 Jun 2023 10:44:17 +0800 Message-Id: <20230628024417.1440111-1-yunchuan@nfschina.com> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.1 required=5.0 tests=BAYES_00,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: wuych --- .../net/ethernet/aquantia/atlantic/hw_atl2/hw_atl2_utils_fw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/aquantia/atlantic/hw_atl2/hw_atl2_utils_fw.c b/drivers/net/ethernet/aquantia/atlantic/hw_atl2/hw_atl2_utils_fw.c index 674683b54304..52e2070a4a2f 100644 --- a/drivers/net/ethernet/aquantia/atlantic/hw_atl2/hw_atl2_utils_fw.c +++ b/drivers/net/ethernet/aquantia/atlantic/hw_atl2/hw_atl2_utils_fw.c @@ -413,8 +413,8 @@ do { \ static int aq_a2_fw_update_stats(struct aq_hw_s *self) { - struct hw_atl2_priv *priv = (struct hw_atl2_priv *)self->priv; struct aq_stats_s *cs = &self->curr_stats; + struct hw_atl2_priv *priv = self->priv; struct statistics_s stats; struct version_s version; int err; -- 2.30.2