devices: clean up two comments in TPM code

Signed-off-by: Wei Liu <liuwe@microsoft.com>
This commit is contained in:
Wei Liu 2023-01-25 16:45:18 +00:00 committed by Rob Bradford
parent cd1470e289
commit 8db630763a

View File

@ -343,7 +343,6 @@ impl Tpm {
} }
} }
//impl BusDevice for TPM
impl BusDevice for Tpm { impl BusDevice for Tpm {
fn read(&mut self, _base: u64, offset: u64, data: &mut [u8]) { fn read(&mut self, _base: u64, offset: u64, data: &mut [u8]) {
let mut offset: u32 = offset as u32; let mut offset: u32 = offset as u32;