From 77c5ca1f89bf8c9bced1e060c17d54df6061984c Mon Sep 17 00:00:00 2001 From: Finn Behrens Date: Wed, 28 Apr 2021 16:59:50 +0200 Subject: [PATCH] Remove unused params from module! macro calls Signed-off-by: Finn Behrens --- drivers/android/rust_binder.rs | 1 - samples/rust/rust_minimal.rs | 2 -- samples/rust/rust_miscdev.rs | 2 -- samples/rust/rust_print.rs | 2 -- samples/rust/rust_semaphore.rs | 1 - samples/rust/rust_stack_probing.rs | 2 -- samples/rust/rust_sync.rs | 2 -- 7 files changed, 12 deletions(-) diff --git a/drivers/android/rust_binder.rs b/drivers/android/rust_binder.rs index a5297651008cb5..75640fc3f81c97 100644 --- a/drivers/android/rust_binder.rs +++ b/drivers/android/rust_binder.rs @@ -35,7 +35,6 @@ module! { author: b"Wedson Almeida Filho", description: b"Android Binder", license: b"GPL v2", - params: {}, } enum Either { diff --git a/samples/rust/rust_minimal.rs b/samples/rust/rust_minimal.rs index 21627ce5656e2a..8238bf28578a2c 100644 --- a/samples/rust/rust_minimal.rs +++ b/samples/rust/rust_minimal.rs @@ -13,8 +13,6 @@ module! { author: b"Rust for Linux Contributors", description: b"Rust minimal sample", license: b"GPL v2", - params: { - }, } struct RustMinimal { diff --git a/samples/rust/rust_miscdev.rs b/samples/rust/rust_miscdev.rs index 944da811f4c164..bd4b35ab5bdb44 100644 --- a/samples/rust/rust_miscdev.rs +++ b/samples/rust/rust_miscdev.rs @@ -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; diff --git a/samples/rust/rust_print.rs b/samples/rust/rust_print.rs index ddfac800f425d6..5717b398b4348f 100644 --- a/samples/rust/rust_print.rs +++ b/samples/rust/rust_print.rs @@ -13,8 +13,6 @@ module! { author: b"Rust for Linux Contributors", description: b"Rust printing macros sample", license: b"GPL v2", - params: { - }, } struct RustPrint; diff --git a/samples/rust/rust_semaphore.rs b/samples/rust/rust_semaphore.rs index 83b163f647f20c..dea6c3460e96d7 100644 --- a/samples/rust/rust_semaphore.rs +++ b/samples/rust/rust_semaphore.rs @@ -39,7 +39,6 @@ module! { author: b"Rust for Linux Contributors", description: b"Rust semaphore sample", license: b"GPL v2", - params: {}, } struct SemaphoreInner { diff --git a/samples/rust/rust_stack_probing.rs b/samples/rust/rust_stack_probing.rs index f992773545658d..aeabb3d1361e1f 100644 --- a/samples/rust/rust_stack_probing.rs +++ b/samples/rust/rust_stack_probing.rs @@ -14,8 +14,6 @@ module! { author: b"Rust for Linux Contributors", description: b"Rust stack probing sample", license: b"GPL v2", - params: { - }, } struct RustStackProbing; diff --git a/samples/rust/rust_sync.rs b/samples/rust/rust_sync.rs index a921bfd7d55fb5..14796286b0f087 100644 --- a/samples/rust/rust_sync.rs +++ b/samples/rust/rust_sync.rs @@ -19,8 +19,6 @@ module! { author: b"Rust for Linux Contributors", description: b"Rust synchronisation primitives sample", license: b"GPL v2", - params: { - }, } struct RustSync;