]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
samples: rust: remove release method that's the same as the default impl
authorAlex Gaynor <alex.gaynor@gmail.com>
Sat, 24 Apr 2021 18:17:59 +0000 (14:17 -0400)
committerMiguel Ojeda <ojeda@kernel.org>
Tue, 27 Apr 2021 03:06:13 +0000 (05:06 +0200)
Signed-off-by: Alex Gaynor <alex.gaynor@gmail.com>
[normalized title]
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
samples/rust/rust_semaphore.rs

index b7300d2aab6d71a83c66a64cfa5b53a6800215b0..eb1dcc202e719de011c22ea5dbe88e1da45906c7 100644 (file)
@@ -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 {