lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220624082651.6804-1-zhounan@nfschina.com>
Date:   Fri, 24 Jun 2022 04:26:51 -0400
From:   zhoun <zhounan@...china.com>
To:     balbi@...nel.org, gregkh@...uxfoundation.org, lutovinova@...ras.ru,
        jakobkoschel@...il.com
Cc:     linux-usb@...r.kernel.org, linux-kernel@...r.kernel.org,
        zhoun <zhounan@...china.com>
Subject: [PATCH] usb: remove unnecessary mv_u3d* type casting

remove unnecessary mv_u3d* type casting.

Signed-off-by: zhoun <zhounan@...china.com>
---
 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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ