Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp18562503rwd; Tue, 27 Jun 2023 20:00:14 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4ywXxHJhLnysdYCZ3YHyR6ohwD6767hZjZEoPuE+OhnBM3DAUEQd0QiBVbInRMAIaPr3IL X-Received: by 2002:a17:907:3f87:b0:97d:9b73:690b with SMTP id hr7-20020a1709073f8700b0097d9b73690bmr33673386ejc.59.1687921213797; Tue, 27 Jun 2023 20:00:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687921213; cv=none; d=google.com; s=arc-20160816; b=C7rnSL8o8MYA/sqfDHHjBFYotWvQl4uZrp6LLsTDaT46m3VfDXFfzJckzUWl1eISVC g8ixVeHx/AdpWdrWaMeQEV5OWOgqq3NPcjlyG1xEwsAJlBOgqQl48I1u3emi7sZ7x4HD W9uXnPIZ5/OjMYiHB9juWJom+bBc4zZXpqoVfHO27lRY3sk1Mua9CCNZl2FqcC9nuBii UvK6aY+I7giwvnG1igtMUcbNlJLoi02xpp/COL8QgwUiphFvIdFGTRDWJgmk9d5n06VT ToRnRcGs+aCAB69wo1bZWmixn9I6nl8ABzRpf+fw4WYQgXDkfnem+fNeHayCMhk2LlXM 3InQ== 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=nYJUd8lAUrzREwg5y1MQWw6BVF9BxnRKvT/11DtVrhU=; fh=t/67/EWEQbvaQtbbYQqzgDVmDi/4vM5YQG+nUGD33I8=; b=Ju4otZovH5XhfsdMCj+Ms3oSdCgDOtXb743/vuEd+Tg/ItOEx5T9hM3z5e/Zmul5Os YSSA1d1FZuVifhw9BlvY8ZghAMvpYicXDRI21TVHpOvL+E0u38t7Y6hNl02EHhxfSoFX zqJUUMlB3UPBYklHuktFHOLp7kIJhYQttAHDT4sgUR1ezocjGmt5DTW/2w2/hmUHXp+9 eREw5aTRDnzKApwsqzctj1as8T+u/pXdhVWP/m8ke9XJBrssxPlaA+UC2cj45UYjqI3Z zEu0ZXUwFDFCQqH6Uh3dHU9LmlSQh/apjoM3QSN2RMULryLwA1SaPqw7luxlz79nnU1r QtTA== 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 mj21-20020a170906af9500b00992559d2dd0si774527ejb.874.2023.06.27.19.59.49; Tue, 27 Jun 2023 20:00:13 -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 S231400AbjF1CqW (ORCPT + 99 others); Tue, 27 Jun 2023 22:46:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44864 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231376AbjF1Cp7 (ORCPT ); Tue, 27 Jun 2023 22:45:59 -0400 Received: from mail.nfschina.com (unknown [42.101.60.195]) by lindbergh.monkeyblade.net (Postfix) with SMTP id 8B8A73C0C; Tue, 27 Jun 2023 19:45:39 -0700 (PDT) Received: from localhost.localdomain (unknown [180.167.10.98]) by mail.nfschina.com (Maildata Gateway V2.8.8) with ESMTPA id D2295604D937E; Wed, 28 Jun 2023 10:45:36 +0800 (CST) X-MD-Sfrom: yunchuan@nfschina.com X-MD-SrcIP: 180.167.10.98 From: wuych To: qiang.zhao@nxp.com, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com Cc: netdev@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org, wuych Subject: [PATCH net-next 10/10] net: wan: Remove unnecessary (void*) conversions Date: Wed, 28 Jun 2023 10:45:35 +0800 Message-Id: <20230628024535.1440803-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 --- drivers/net/wan/fsl_ucc_hdlc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/wan/fsl_ucc_hdlc.c b/drivers/net/wan/fsl_ucc_hdlc.c index 47c2ad7a3e42..91e37c3dcbee 100644 --- a/drivers/net/wan/fsl_ucc_hdlc.c +++ b/drivers/net/wan/fsl_ucc_hdlc.c @@ -350,7 +350,7 @@ static int uhdlc_init(struct ucc_hdlc_private *priv) static netdev_tx_t ucc_hdlc_tx(struct sk_buff *skb, struct net_device *dev) { hdlc_device *hdlc = dev_to_hdlc(dev); - struct ucc_hdlc_private *priv = (struct ucc_hdlc_private *)hdlc->priv; + struct ucc_hdlc_private *priv = hdlc->priv; struct qe_bd *bd; u16 bd_status; unsigned long flags; -- 2.30.2