From 8db630763a49f853ea9c0ad40d5af5c7069a0f1c Mon Sep 17 00:00:00 2001 From: Wei Liu Date: Wed, 25 Jan 2023 16:45:18 +0000 Subject: [PATCH] devices: clean up two comments in TPM code Signed-off-by: Wei Liu --- devices/src/tpm.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/devices/src/tpm.rs b/devices/src/tpm.rs index d56580ce9..301516bcd 100644 --- a/devices/src/tpm.rs +++ b/devices/src/tpm.rs @@ -343,7 +343,6 @@ impl Tpm { } } -//impl BusDevice for TPM impl BusDevice for Tpm { fn read(&mut self, _base: u64, offset: u64, data: &mut [u8]) { let mut offset: u32 = offset as u32; @@ -492,7 +491,7 @@ impl BusDevice for Tpm { e )) }); - //TODO: drop the copy here + // TODO: drop the copy here self.data_buff.fill(0); self.data_buff.clone_from_slice(output.unwrap().as_slice());