linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/6] usb: musb: jz4740: Suppress useless field in priv structure
@ 2019-12-14 22:11 Paul Cercueil
  2019-12-14 22:11 ` [PATCH 2/6] usb: musb: jz4740: Add local dev variable to clean up probe Paul Cercueil
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Paul Cercueil @ 2019-12-14 22:11 UTC (permalink / raw)
  To: Bin Liu, Greg Kroah-Hartman; +Cc: od, linux-usb, linux-kernel, Paul Cercueil

The 'dev' field was never read anywhere.

Signed-off-by: Paul Cercueil <paul@crapouillou.net>
---
 drivers/usb/musb/jz4740.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/drivers/usb/musb/jz4740.c b/drivers/usb/musb/jz4740.c
index 5e885fa26829..16d4120ba145 100644
--- a/drivers/usb/musb/jz4740.c
+++ b/drivers/usb/musb/jz4740.c
@@ -17,7 +17,6 @@
 #include "musb_core.h"
 
 struct jz4740_glue {
-	struct device           *dev;
 	struct platform_device  *musb;
 	struct clk		*clk;
 };
@@ -150,7 +149,6 @@ static int jz4740_probe(struct platform_device *pdev)
 	musb->dev.dma_mask		= &musb->dev.coherent_dma_mask;
 	musb->dev.coherent_dma_mask	= DMA_BIT_MASK(32);
 
-	glue->dev			= &pdev->dev;
 	glue->musb			= musb;
 	glue->clk			= clk;
 
-- 
2.24.0


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

end of thread, other threads:[~2019-12-16 17:20 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-14 22:11 [PATCH 1/6] usb: musb: jz4740: Suppress useless field in priv structure Paul Cercueil
2019-12-14 22:11 ` [PATCH 2/6] usb: musb: jz4740: Add local dev variable to clean up probe Paul Cercueil
2019-12-14 22:11 ` [PATCH 3/6] usb: musb: jz4740: Constify jz4740_musb_pdata struct Paul Cercueil
2019-12-14 22:11 ` [PATCH 4/6] usb: musb: jz4740: Rename platform_device field in priv struct Paul Cercueil
2019-12-14 22:11 ` [PATCH 5/6] usb: musb: jz4740: Comments fix Paul Cercueil
2019-12-14 22:11 ` [PATCH 6/6] usb: musb: jz4740: Whitespace and indentation fixes Paul Cercueil
2019-12-16 17:19 ` [PATCH 1/6] usb: musb: jz4740: Suppress useless field in priv structure Bin Liu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).