From patchwork Fri Jun 24 08:26:51 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zhou nan X-Patchwork-Id: 585088 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3739BC43334 for ; Fri, 24 Jun 2022 08:27:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229464AbiFXI1h (ORCPT ); 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 Precedence: bulk List-ID: X-Mailing-List: linux-usb@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 */