usbdev/composite: remove excess uninitialize code

Signed-off-by: zhangyuan21 <zhangyuan21@xiaomi.com>
This commit is contained in:
zhangyuan21 2023-02-02 14:31:55 +08:00 committed by Xiang Xiao
parent 4ddcb88c65
commit f77a824105
1 changed files with 0 additions and 5 deletions

View File

@ -1049,11 +1049,6 @@ void composite_uninitialize(FAR void *handle)
priv = &alloc->dev;
for (i = 0; i < priv->ndevices; i++)
{
priv->device[i].compdesc.uninitialize(priv->device[i].dev);
}
/* Then unregister and destroy the composite class */
usbdev_unregister(&alloc->drvr.drvr);