From: Peng Fan <[email protected]>

'node' and 'fdt' are not used, remove them.

Reviewed-by: Simon Glass <[email protected]>
Signed-off-by: Peng Fan <[email protected]>
---
 drivers/usb/musb-new/ti-musb.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/drivers/usb/musb-new/ti-musb.c b/drivers/usb/musb-new/ti-musb.c
index cc6c3b94a65..e083cb7d0ff 100644
--- a/drivers/usb/musb-new/ti-musb.c
+++ b/drivers/usb/musb-new/ti-musb.c
@@ -201,8 +201,6 @@ static int ti_musb_host_bind(struct udevice *dev)
 static int ti_musb_host_of_to_plat(struct udevice *dev)
 {
        struct ti_musb_plat *plat = dev_get_plat(dev);
-       const void *fdt = gd->fdt_blob;
-       int node = dev_of_offset(dev);
        int ret;
 
        ret = ti_musb_of_to_plat(dev);
@@ -251,8 +249,6 @@ static int ti_musb_peripheral_bind(struct udevice *dev)
 static int ti_musb_peripheral_of_to_plat(struct udevice *dev)
 {
        struct ti_musb_plat *plat = dev_get_plat(dev);
-       const void *fdt = gd->fdt_blob;
-       int node = dev_of_offset(dev);
        int ret;
 
        ret = ti_musb_of_to_plat(dev);

-- 
2.51.0

Reply via email to