misc: clippy: add unnecessary_semicolon

Signed-off-by: Philipp Schuster <philipp.schuster@cyberus-technology.de>
On-behalf-of: SAP philipp.schuster@sap.com
This commit is contained in:
Philipp Schuster
2025-11-18 12:23:48 +01:00
committed by Rob Bradford
parent 06390342a6
commit 7cb73e9e56
36 changed files with 72 additions and 73 deletions

View File

@@ -91,7 +91,7 @@ impl BusDevice for Cmos {
}
}
o => warn!("bad write offset on CMOS device: {o}"),
};
}
None
}

View File

@@ -710,7 +710,7 @@ impl FwCfg {
let bytes = n.to_le_bytes();
data.copy_from_slice(&bytes[start..end]);
}
};
}
Some(size as u8)
}
@@ -756,7 +756,7 @@ impl BusDevice for FwCfg {
"fw_cfg: read from unknown port {port:#x}: {size:#x} bytes and offset {offset:#x}."
);
}
};
}
}
fn write(&mut self, _base: u64, offset: u64, data: &[u8]) -> Option<Arc<Barrier>> {
@@ -792,7 +792,7 @@ impl BusDevice for FwCfg {
_ => debug!(
"fw_cfg: write to unknown port {port:#x}: {size:#x} bytes and offset {offset:#x} ."
),
};
}
None
}
}