Skip to content

Commit

Permalink
Merge pull request #940 from mulkieran/unnecessary-allow
Browse files Browse the repository at this point in the history
Unnecessary allow
  • Loading branch information
mulkieran authored Oct 10, 2024
2 parents 6f581e8 + 8744889 commit b521e54
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion devicemapper-rs-sys/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#![allow(non_camel_case_types)]
#![allow(non_snake_case)]
#![allow(deref_nullptr)]
#![allow(clippy::all)]

include!(concat!(env!("OUT_DIR"), "/dm-bindings.rs"));
Expand Down
1 change: 0 additions & 1 deletion src/core/dm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,6 @@ impl DM {
/// Valid flags: `DM_DEFERRED_REMOVE`
pub fn device_remove(&self, id: &DevId<'_>, options: DmOptions) -> DmResult<DeviceInfo> {
debug!("Removing device {}", id);
#[allow(clippy::blocks_in_conditions)]
match retry_with_index(
Fixed::from_millis(DM_REMOVE_MSLEEP_DELAY).take(DM_REMOVE_RETRIES - 1),
|i| {
Expand Down

0 comments on commit b521e54

Please sign in to comment.