Skip to content

Commit

Permalink
Merge pull request #224 from Rust-for-Linux/alex-patch-1
Browse files Browse the repository at this point in the history
Remove release method that's the same as the default impl
  • Loading branch information
alex authored Apr 24, 2021
2 parents 3e1c596 + e508fef commit d4bf48b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions samples/rust/rust_semaphore.rs
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,6 @@ impl FileOperations for FileState {
fn ioctl(&self, file: &File, cmd: &mut IoctlCommand) -> KernelResult<i32> {
cmd.dispatch(self, file)
}

fn release(_obj: Box<Self>, _file: &File) {}
}

struct RustSemaphore {
Expand Down

0 comments on commit d4bf48b

Please sign in to comment.