Umount is already done by default if no args are given

This commit is contained in:
Marcel Alexandru Nitan
2023-06-02 08:44:37 +00:00
parent bed0551989
commit 4034ffebdc
2 changed files with 2 additions and 15 deletions

View File

@@ -109,12 +109,6 @@ void mount_iso(char *iso_path, char *cdrom, char *ro)
set_udc(udc, gadgetRoot);
}
void umount_iso()
{
char *empty = (char *)"";
mount_iso(empty, empty, empty);
}
void set_udc(char *udc, char *gadget)
{
char *udcFile = strjin(gadget, (char *)"/UDC");