summaryrefslogtreecommitdiff
path: root/common/usb_onboard_hub.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/usb_onboard_hub.c')
-rw-r--r--common/usb_onboard_hub.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/common/usb_onboard_hub.c b/common/usb_onboard_hub.c
index 7606362a4ee..c6379192fe8 100644
--- a/common/usb_onboard_hub.c
+++ b/common/usb_onboard_hub.c
@@ -211,9 +211,6 @@ static int usb_onboard_hub_remove(struct udevice *dev)
struct onboard_hub *hub = dev_get_priv(dev);
int ret = 0;
- if (hub->reset_gpio)
- dm_gpio_free(hub->reset_gpio->dev, hub->reset_gpio);
-
if (hub->vdd) {
ret = regulator_set_enable_if_allowed(hub->vdd, false);
if (ret)