Skip to content

Commit d4bf48b

Browse files
authored
Merge pull request #224 from Rust-for-Linux/alex-patch-1
Remove release method that's the same as the default impl
2 parents 3e1c596 + e508fef commit d4bf48b

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

samples/rust/rust_semaphore.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,8 +109,6 @@ impl FileOperations for FileState {
109109
fn ioctl(&self, file: &File, cmd: &mut IoctlCommand) -> KernelResult<i32> {
110110
cmd.dispatch(self, file)
111111
}
112-
113-
fn release(_obj: Box<Self>, _file: &File) {}
114112
}
115113

116114
struct RustSemaphore {

0 commit comments

Comments
 (0)