diff --git a/src/bin/stratis-min/stratisd-min.rs b/src/bin/stratis-min/stratisd-min.rs index 050e97c3bb..9802ede347 100644 --- a/src/bin/stratis-min/stratisd-min.rs +++ b/src/bin/stratis-min/stratisd-min.rs @@ -43,7 +43,6 @@ fn parse_args() -> Command { /// To ensure only one instance of stratisd runs at a time, acquire an /// exclusive lock. Return an error if lock attempt fails. fn trylock_pid_file() -> StratisResult> { - #[allow(unknown_lints)] #[allow(clippy::suspicious_open_options)] let f = OpenOptions::new() .read(true) @@ -77,7 +76,6 @@ fn trylock_pid_file() -> StratisResult> { } }; - #[allow(unknown_lints)] #[allow(clippy::suspicious_open_options)] let f = OpenOptions::new() .read(true) diff --git a/src/bin/stratisd.rs b/src/bin/stratisd.rs index e5d3d99b63..ec0e9c5767 100644 --- a/src/bin/stratisd.rs +++ b/src/bin/stratisd.rs @@ -51,7 +51,6 @@ fn initialize_log(log_level: Option<&str>) { /// To ensure only one instance of stratisd runs at a time, acquire an /// exclusive lock. Return an error if lock attempt fails. fn trylock_pid_file() -> StratisResult> { - #[allow(unknown_lints)] #[allow(clippy::suspicious_open_options)] let f = OpenOptions::new() .read(true) @@ -83,7 +82,6 @@ fn trylock_pid_file() -> StratisResult> { } }; - #[allow(unknown_lints)] #[allow(clippy::suspicious_open_options)] let f = OpenOptions::new() .read(true)