Skip to content
This repository was archived by the owner on Mar 7, 2021. It is now read-only.

Commit 1647ff5

Browse files
committed
These are better tested with hello-world now
1 parent 589f395 commit 1647ff5

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

static-filesystem/src/lib.rs

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,19 +9,12 @@ struct StaticFileSystemModule {
99

1010
impl linux_kernel_module::KernelModule for StaticFileSystemModule {
1111
fn init() -> linux_kernel_module::KernelResult<Self> {
12-
println!("Hello kernel module!");
1312
Ok(StaticFileSystemModule {
1413
_fs: linux_kernel_module::filesystem::register::<StaticFileSystem>()?,
1514
})
1615
}
1716
}
1817

19-
impl Drop for StaticFileSystemModule {
20-
fn drop(&mut self) {
21-
println!("Goodbye kernel module!");
22-
}
23-
}
24-
2518
struct StaticFileSystem;
2619

2720
impl linux_kernel_module::filesystem::FileSystem for StaticFileSystem {

0 commit comments

Comments
 (0)