usb: musb: jz4740: Suppress useless field in priv structure

The 'dev' field was never read anywhere.

Signed-off-by: Paul Cercueil <paul@crapouillou.net>
Signed-off-by: Bin Liu <b-liu@ti.com>
Link: https://lore.kernel.org/r/20200115132547.364-12-b-liu@ti.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Paul Cercueil 2020-01-15 07:25:33 -06:00 committed by Greg Kroah-Hartman
parent 98827105d8
commit 7e2ee1ab02

View file

@ -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;