Skip to content

Commit

Permalink
Remove unused params from module! macro calls
Browse files Browse the repository at this point in the history
Signed-off-by: Finn Behrens <[email protected]>
  • Loading branch information
kloenk committed Apr 28, 2021
1 parent 7c16d3c commit 77c5ca1
Show file tree
Hide file tree
Showing 7 changed files with 0 additions and 12 deletions.
1 change: 0 additions & 1 deletion drivers/android/rust_binder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ module! {
author: b"Wedson Almeida Filho",
description: b"Android Binder",
license: b"GPL v2",
params: {},
}

enum Either<L, R> {
Expand Down
2 changes: 0 additions & 2 deletions samples/rust/rust_minimal.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ module! {
author: b"Rust for Linux Contributors",
description: b"Rust minimal sample",
license: b"GPL v2",
params: {
},
}

struct RustMinimal {
Expand Down
2 changes: 0 additions & 2 deletions samples/rust/rust_miscdev.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@ module! {
author: b"Rust for Linux Contributors",
description: b"Rust miscellaneous device sample",
license: b"GPL v2",
params: {
},
}

const MAX_TOKENS: usize = 3;
Expand Down
2 changes: 0 additions & 2 deletions samples/rust/rust_print.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ module! {
author: b"Rust for Linux Contributors",
description: b"Rust printing macros sample",
license: b"GPL v2",
params: {
},
}

struct RustPrint;
Expand Down
1 change: 0 additions & 1 deletion samples/rust/rust_semaphore.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ module! {
author: b"Rust for Linux Contributors",
description: b"Rust semaphore sample",
license: b"GPL v2",
params: {},
}

struct SemaphoreInner {
Expand Down
2 changes: 0 additions & 2 deletions samples/rust/rust_stack_probing.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ module! {
author: b"Rust for Linux Contributors",
description: b"Rust stack probing sample",
license: b"GPL v2",
params: {
},
}

struct RustStackProbing;
Expand Down
2 changes: 0 additions & 2 deletions samples/rust/rust_sync.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@ module! {
author: b"Rust for Linux Contributors",
description: b"Rust synchronisation primitives sample",
license: b"GPL v2",
params: {
},
}

struct RustSync;
Expand Down

0 comments on commit 77c5ca1

Please sign in to comment.