diff mbox series

[11/25] usb: musb: jz4740: Suppress useless field in priv structure

Message ID 20200115132547.364-12-b-liu@ti.com (mailing list archive)
State Mainlined
Commit 7e2ee1ab023cda87aa5f738076d83671484204d3
Headers show
Series musb patches for v5.6-rc1 | expand

Commit Message

Bin Liu Jan. 15, 2020, 1:25 p.m. UTC
From: Paul Cercueil <paul@crapouillou.net>

The 'dev' field was never read anywhere.

Signed-off-by: Paul Cercueil <paul@crapouillou.net>
Signed-off-by: Bin Liu <b-liu@ti.com>
---
 drivers/usb/musb/jz4740.c | 2 --
 1 file changed, 2 deletions(-)
diff mbox series

Patch

diff --git a/drivers/usb/musb/jz4740.c b/drivers/usb/musb/jz4740.c
index e3b8c84ccdb8..03c555679e5e 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;
 };
@@ -141,7 +140,6 @@  static int jz4740_probe(struct platform_device *pdev)
 
 	musb->dev.parent		= &pdev->dev;
 
-	glue->dev			= &pdev->dev;
 	glue->musb			= musb;
 	glue->clk			= clk;