From 372d2fe92b647a24402f2226264a5217a2ebf9ac Mon Sep 17 00:00:00 2001 From: radu Date: Sun, 19 May 2024 04:08:22 +0300 Subject: [PATCH] removed some not used code --- src/mount/macos.rs | 11 ----------- src/mount/windows.rs | 11 ----------- 2 files changed, 22 deletions(-) diff --git a/src/mount/macos.rs b/src/mount/macos.rs index 35f9a99..25cdfc9 100644 --- a/src/mount/macos.rs +++ b/src/mount/macos.rs @@ -51,17 +51,6 @@ impl MountPoint for MountPointImpl { } async fn mount(mut self) -> FsResult { - let handle = mount_fuse( - self.mountpoint.clone(), - self.data_dir.clone(), - self.password_provider.take().unwrap(), - self.cipher, - self.allow_root, - self.allow_other, - self.direct_io, - self.suid_support, - ) - .await?; Ok(mount::MountHandle { inner: MountHandleInnerImpl {}, }) diff --git a/src/mount/windows.rs b/src/mount/windows.rs index 35f9a99..25cdfc9 100644 --- a/src/mount/windows.rs +++ b/src/mount/windows.rs @@ -51,17 +51,6 @@ impl MountPoint for MountPointImpl { } async fn mount(mut self) -> FsResult { - let handle = mount_fuse( - self.mountpoint.clone(), - self.data_dir.clone(), - self.password_provider.take().unwrap(), - self.cipher, - self.allow_root, - self.allow_other, - self.direct_io, - self.suid_support, - ) - .await?; Ok(mount::MountHandle { inner: MountHandleInnerImpl {}, })