Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp36134633rwd; Mon, 10 Jul 2023 18:49:26 -0700 (PDT) X-Google-Smtp-Source: APBJJlH0pGWW+/41kpsZazWjY7BFQa6be7quLa+CRnRFcgXqJzSIQRo7GFfcEcMf0s12Gl4aPDoe X-Received: by 2002:a05:6a20:7f92:b0:12e:6852:eae7 with SMTP id d18-20020a056a207f9200b0012e6852eae7mr26595547pzj.4.1689040166635; Mon, 10 Jul 2023 18:49:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689040166; cv=none; d=google.com; s=arc-20160816; b=AedD2LWUwMryrNVggq30bpm5jP5uIIa6oUAb8WlaKRC9QZ+kU9ddUKzF3Gu/GTf6xB MSgfP3fmPTPsfy/ggUZaFxHqbeJ+bbniOcOOpJ0W6q9m2MaFxwjRUyyIeSaa3CFBz56i EEDzCq3atpqEZMSPbuUaYWcj5CYY+XYnaQYEK0ukOh2bAGWFDekDBXqHNKW2byHjMnwZ f1/qwWf8K2ZFvoOisTrtqpuKwx8sfOghIvK0iP8hSw6oYFh6f/Ga4cI2HfgoviR2+Uuz FP0wiXr/vF8NBjLTD3z564Q1tpExGcskhBjtiYOgi5K0YQ6cOg6AfXwHllZXd7dsb4+v GRvQ== 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=WKMuVS5yc5q2VSvHb18R8fTUQTd/OI4rLBx+dEwHCuw=; fh=uXQERWq7uqDy+rBTuUm7WYounp/8QgLVrduh/7aYCfY=; b=yEqz9/2N/7yqxozFjOI3/o/d7SFeL89ikPTkPOl3to8PDSkxUkJZdvIuYxK61Bc43N 4yrlcpxW+xbnZH+0P52QcVS8pioz3u76NH02JUlTGSb0HQ76mvCKaD4ZoU+POrg/453h CzcXQFBcZNiYhSeQ68VK+Mc5MAZ8IUv35PHwrCZ1Xm3yKNHbLrgafC0NrTK3chQjcRWf PUNl1lxdpba1nBgAAgX5lT0AcclqbVTagYjZagRvNVmn5hTGqsKa5z8nKKKFB3QOPk7v Xbzx11/1c+JjmE8VZ5hxNc8XbHsMBjzsqwjudSaYKEaZZz4MbGnZcaX839/Eu4eLESl0 liLQ== 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 s20-20020a656454000000b0055b001d96dcsi565916pgv.178.2023.07.10.18.49.14; Mon, 10 Jul 2023 18:49: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 S230345AbjGKBkO (ORCPT + 99 others); Mon, 10 Jul 2023 21:40:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45740 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230121AbjGKBkM (ORCPT ); Mon, 10 Jul 2023 21:40:12 -0400 Received: from mail.nfschina.com (unknown [42.101.60.195]) by lindbergh.monkeyblade.net (Postfix) with SMTP id 04E36A4; Mon, 10 Jul 2023 18:40:10 -0700 (PDT) Received: from localhost.localdomain (unknown [180.167.10.98]) by mail.nfschina.com (Maildata Gateway V2.8.8) with ESMTPA id 6D9AF604849B8; Tue, 11 Jul 2023 09:40:08 +0800 (CST) X-MD-Sfrom: yunchuan@nfschina.com X-MD-SrcIP: 180.167.10.98 From: Wu Yunchuan 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 v3 01/10] net: wan: Remove unnecessary (void*) conversions Date: Tue, 11 Jul 2023 09:39:21 +0800 Message-Id: <20230711013920.549113-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 From: wuych Pointer variables of void * type do not require type cast. Signed-off-by: Wu Yunchuan --- 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