mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] usb: remove unnecessary mv_u3d* type casting
@ 2022-06-24  8:26 zhoun
  2022-06-24  8:31 ` Greg KH
  0 siblings, 1 reply; 4+ messages in thread
From: zhoun @ 2022-06-24  8:26 UTC (permalink / raw)
  To: balbi, gregkh, lutovinova, jakobkoschel; +Cc: linux-usb, linux-kernel, zhoun

remove unnecessary mv_u3d* type casting.

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-06-27 12:08 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-24  8:26 [PATCH] usb: remove unnecessary mv_u3d* type casting zhoun
2022-06-24  8:31 ` Greg KH
2022-06-27  3:11   ` [PATCH v2] usb: remove unnecessary mv_u3d* conversion zhoun
2022-06-27 11:45     ` Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®