Commit 7e2ee1ab authored by Paul Cercueil's avatar Paul Cercueil Committed by Greg Kroah-Hartman

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

The 'dev' field was never read anywhere.
Signed-off-by: default avatarPaul Cercueil <paul@crapouillou.net>
Signed-off-by: default avatarBin Liu <b-liu@ti.com>
Link: https://lore.kernel.org/r/20200115132547.364-12-b-liu@ti.comSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 98827105
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment