[PATCH 1/6] usb: musb-new: Drop unused variables

Peng Fan (OSS) peng.fan at oss.nxp.com
Tue May 26 11:09:57 CEST 2026


From: Peng Fan <peng.fan at nxp.com>

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

Signed-off-by: Peng Fan <peng.fan at nxp.com>
---
 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



More information about the U-Boot mailing list