From: Alex Gaynor Date: Sat, 24 Apr 2021 18:17:59 +0000 (-0400) Subject: samples: rust: remove release method that's the same as the default impl X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=43f76a4604134b280eacd015f9e7ce939f95753b;p=users%2Fjedix%2Flinux-maple.git samples: rust: remove release method that's the same as the default impl Signed-off-by: Alex Gaynor [normalized title] Signed-off-by: Miguel Ojeda --- diff --git a/samples/rust/rust_semaphore.rs b/samples/rust/rust_semaphore.rs index b7300d2aab6d7..eb1dcc202e719 100644 --- a/samples/rust/rust_semaphore.rs +++ b/samples/rust/rust_semaphore.rs @@ -109,8 +109,6 @@ impl FileOperations for FileState { fn ioctl(&self, file: &File, cmd: &mut IoctlCommand) -> KernelResult { cmd.dispatch(self, file) } - - fn release(_obj: Box, _file: &File) {} } struct RustSemaphore {