Skip to content

Commit 3d36aad

Browse files
committed
WSL2 Support - Remove unnecessary umount and free
Signed-off-by: Kevin Klues <[email protected]>
1 parent 16ae202 commit 3d36aad

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

src/nvc_mount.c

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -565,13 +565,6 @@ device_mount_dxcore(struct nvc_context *ctx, const struct nvc_container *cnt)
565565
drvstore_size)) == NULL)
566566
{
567567
log_errf("failed to mount DriverStore libraries %s", ctx->dxcore.adapterList[0].pDriverStorePath);
568-
569-
for (size_t i = 0; i < drvstore_size; ++i)
570-
unmount(drvstore_mnt[i]);
571-
array_free(drvstore_mnt, drvstore_size);
572-
573-
drvstore_size = 0;
574-
575568
return (-1);
576569
}
577570

0 commit comments

Comments
 (0)