diff --git a/core/io/linux.rs b/core/io/linux.rs index 8e666d238..19fe62523 100644 --- a/core/io/linux.rs +++ b/core/io/linux.rs @@ -266,7 +266,6 @@ impl File for LinuxFile { } fn sync(&self, c: Rc) -> Result<()> { - let mut io = self.io.borrow_mut(); let fd = io_uring::types::Fd(self.file.as_raw_fd()); let ptr = Rc::into_raw(c.clone()); let sync = io_uring::opcode::Fsync::new(fd)