cleanup ioctl response logging
This commit is contained in:
parent
6ee45f5ec0
commit
8dbe397f99
2 changed files with 1 additions and 3 deletions
|
@ -110,7 +110,7 @@ impl IoctlState {
|
|||
|
||||
pub fn ioctl_done(&self, response: &[u8]) {
|
||||
if let IoctlStateInner::Sent { buf } = self.state.get() {
|
||||
info!("IOCTL Response: {:02x}", Bytes(response));
|
||||
trace!("IOCTL Response: {:02x}", Bytes(response));
|
||||
|
||||
// TODO fix this
|
||||
(unsafe { &mut *buf }[..response.len()]).copy_from_slice(response);
|
||||
|
|
|
@ -351,8 +351,6 @@ where
|
|||
panic!("IOCTL error {}", cdc_header.status as i32);
|
||||
}
|
||||
|
||||
info!("IOCTL Response: {:02x}", Bytes(response));
|
||||
|
||||
self.ioctl_state.ioctl_done(response);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue