runtime-rs: Remove dead code

`VmmPingResponse` and `NetInterworkingModel` are
never constructed, so remove them

Signed-off-by: stevenhorsman <steven@uk.ibm.com>
This commit is contained in:
stevenhorsman
2025-12-11 16:02:10 +00:00
parent 35557745b1
commit 2f49dffcd7
2 changed files with 0 additions and 12 deletions

View File

@@ -40,7 +40,6 @@ use nix::unistd::setgid;
use nix::unistd::setuid;
use nix::unistd::Gid;
use nix::unistd::Uid;
use serde::{Deserialize, Serialize};
use serde_json::Value;
use std::collections::HashMap;
use std::convert::TryFrom;
@@ -79,14 +78,6 @@ enum CloudHypervisorLogLevel {
Error,
}
#[derive(Clone, Deserialize, Serialize)]
pub struct VmmPingResponse {
pub build_version: String,
pub version: String,
pub pid: i64,
pub features: Vec<String>,
}
#[derive(thiserror::Error, Debug, PartialEq)]
pub enum GuestProtectionError {
#[error("guest protection requested but no guest protection available")]

View File

@@ -17,9 +17,6 @@ use super::{
const TAP_SUFFIX: &str = "_kata";
#[derive(Default, Copy, Clone, Debug, PartialEq, Eq)]
pub struct NetInterworkingModel(u32);
#[derive(Default, Debug, Clone)]
pub struct NetworkInterface {
pub name: String,