Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp189921iog; Fri, 24 Jun 2022 02:01:41 -0700 (PDT) X-Google-Smtp-Source: AGRyM1uIG90iuxhWbozOQn5M1mc2NYWzN7EPyCIEyFbjfoSlIJYMdlFU4oLu4JJTl6sEHRy7enfz X-Received: by 2002:a17:907:97d3:b0:726:35b7:2fe8 with SMTP id js19-20020a17090797d300b0072635b72fe8mr671230ejc.367.1656061301687; Fri, 24 Jun 2022 02:01:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656061301; cv=none; d=google.com; s=arc-20160816; b=UYOa3M+dxGSP+ox4SksA9zDQlB9PjjcObZIcez5xalg1Gu7hDP1OuATTOQn849iAjC jkBlBJH0pwq/aFDJPKqTdztdjTTnoIKRIL+K/oNlF4L4MCTBKqWNj4G9+kXQXXOECxCV 2BCLDW7dItwoCefxahtogtHVc6SsizghGoV4lTSl29+UzkShCe/z9a+MqXKeaDCl7/ft FpqVU9chsl+WjbhxClu3z6igExRw9xAvveXzHcsjW+T6DXX0k9Q0GF2hcHoF5AfRKOVL KqCFYmPQRnECIlmwtRvxI7zG693uJYYUTDJoLnfH4iv3tRTag1WBwGSBPfGnHKkNgiHk GMkw== 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=TSj+fvSnDO3pdDcl02apK7IzjLQvTbGeovztIzgKUY8=; b=Mpd1hjnJYPzA3SCmpxLIbdC6eBGhsHTSs7XyBbzKj4PFH61A2jH4GmMRz1Vy3zHsaY +XDbra6aAkdXHA9+zX2m2YzvY1EpoW19SDbwHV0tjqdVtN5LYH4z38/Micu4O3LAtB3P U6PYeMFWWaGMnszigH9ckSv7YL2bvsRwtwiL9hdj6QYPeZaQk21plxDIIBWjr3lFCy3V MotM5Gi88IWztuFIobL7d5KPJYsMAmWnq6b015TpspVTZ/sXp7NIibQecRg/Wh4boir8 KcvW1N3BIXkx5x3kRu1Yq5SOWq4CjnaL0Y2Dvjdl92/miTUpY7/LCXlWlB/Pu407CkDu NK6w== 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 sc37-20020a1709078a2500b0072632e5173esi1255085ejc.932.2022.06.24.02.01.07; Fri, 24 Jun 2022 02:01:41 -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 S229635AbiFXI1h (ORCPT + 99 others); Fri, 24 Jun 2022 04:27:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48880 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229523AbiFXI1g (ORCPT ); Fri, 24 Jun 2022 04:27:36 -0400 Received: from mail.nfschina.com (unknown [IPv6:2400:dd01:100f:2:72e2:84ff:fe10:5f45]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 86371766BE; Fri, 24 Jun 2022 01:27:35 -0700 (PDT) Received: from localhost (unknown [127.0.0.1]) by mail.nfschina.com (Postfix) with ESMTP id 49D671E80D59; Fri, 24 Jun 2022 16:27:07 +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 Ehf10wjBOl_v; Fri, 24 Jun 2022 16:27:04 +0800 (CST) Received: from nfschina.com.localdomain (unknown [219.141.250.2]) (Authenticated sender: zhounan@nfschina.com) by mail.nfschina.com (Postfix) with ESMTPA id 7FEA01E80D1A; Fri, 24 Jun 2022 16:27:04 +0800 (CST) From: zhoun To: balbi@kernel.org, gregkh@linuxfoundation.org, lutovinova@ispras.ru, jakobkoschel@gmail.com Cc: linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, zhoun Subject: [PATCH] usb: remove unnecessary mv_u3d* type casting Date: Fri, 24 Jun 2022 04:26:51 -0400 Message-Id: <20220624082651.6804-1-zhounan@nfschina.com> X-Mailer: git-send-email 2.27.0 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_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 mv_u3d* type casting. Signed-off-by: zhoun --- drivers/usb/gadget/udc/mv_u3d_core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/gadget/udc/mv_u3d_core.c b/drivers/usb/gadget/udc/mv_u3d_core.c index 598654a3cb41..102278a71307 100644 --- a/drivers/usb/gadget/udc/mv_u3d_core.c +++ b/drivers/usb/gadget/udc/mv_u3d_core.c @@ -175,7 +175,7 @@ void mv_u3d_done(struct mv_u3d_ep *ep, struct mv_u3d_req *req, int status) __releases(&ep->udc->lock) __acquires(&ep->udc->lock) { - struct mv_u3d *u3d = (struct mv_u3d *)ep->u3d; + struct mv_u3d *u3d = ep->u3d; dev_dbg(u3d->dev, "mv_u3d_done: remove req->queue\n"); /* Removed the req from ep queue */ -- 2.27.0