virtio-devices: vsock: drop a useless line

Signed-off-by: Wei Liu <liuwe@microsoft.com>
This commit is contained in:
Wei Liu 2024-07-31 07:01:17 +00:00 committed by Bo Chen
parent 82ac114b8a
commit f5b2eb5c76

View File

@ -509,7 +509,6 @@ impl VsockMuxer {
.map_err(Error::UnixRead)?;
}
let _ = command;
let command = partial_command_map.remove(&stream.as_raw_fd()).unwrap();
let mut word_iter = std::str::from_utf8(&command.buf[..command.len])