Skip to content

Commit 1825e2f

Browse files
committed
Remove unused params from module! macro calls
Signed-off-by: Finn Behrens <[email protected]>
1 parent 1d0cf0d commit 1825e2f

File tree

7 files changed

+0
-12
lines changed

7 files changed

+0
-12
lines changed

drivers/android/rust_binder.rs

-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ module! {
3535
author: b"Wedson Almeida Filho",
3636
description: b"Android Binder",
3737
license: b"GPL v2",
38-
params: {},
3938
}
4039

4140
enum Either<L, R> {

samples/rust/rust_minimal.rs

-2
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@ module! {
1313
author: b"Rust for Linux Contributors",
1414
description: b"Rust minimal sample",
1515
license: b"GPL v2",
16-
params: {
17-
},
1816
}
1917

2018
struct RustMinimal {

samples/rust/rust_miscdev.rs

-2
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,6 @@ module! {
2323
author: b"Rust for Linux Contributors",
2424
description: b"Rust miscellaneous device sample",
2525
license: b"GPL v2",
26-
params: {
27-
},
2826
}
2927

3028
const MAX_TOKENS: usize = 3;

samples/rust/rust_print.rs

-2
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@ module! {
1313
author: b"Rust for Linux Contributors",
1414
description: b"Rust printing macros sample",
1515
license: b"GPL v2",
16-
params: {
17-
},
1816
}
1917

2018
struct RustPrint;

samples/rust/rust_semaphore.rs

-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ module! {
3939
author: b"Rust for Linux Contributors",
4040
description: b"Rust semaphore sample",
4141
license: b"GPL v2",
42-
params: {},
4342
}
4443

4544
struct SemaphoreInner {

samples/rust/rust_stack_probing.rs

-2
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@ module! {
1414
author: b"Rust for Linux Contributors",
1515
description: b"Rust stack probing sample",
1616
license: b"GPL v2",
17-
params: {
18-
},
1917
}
2018

2119
struct RustStackProbing;

samples/rust/rust_sync.rs

-2
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,6 @@ module! {
1919
author: b"Rust for Linux Contributors",
2020
description: b"Rust synchronisation primitives sample",
2121
license: b"GPL v2",
22-
params: {
23-
},
2422
}
2523

2624
struct RustSync;

0 commit comments

Comments
 (0)