dragonball: Remove a useless dead_code attribute

The vhost-user-fs has been added to Dragonball, so we can remove
`update_memory`'s dead_code attribute.

Fixes: #8691

Signed-off-by: Xuewei Niu <niuxuewei.nxw@antgroup.com>
This commit is contained in:
Xuewei Niu
2025-06-03 15:41:45 +08:00
parent 8c3f8f8e21
commit 3f8dd821e6

View File

@@ -201,9 +201,7 @@ impl Endpoint {
Ok(Some(features))
}
// TODO: Remove this after enabling vhost-user-fs on the runtime-rs. Issue:
// https://github.com/kata-containers/kata-containers/issues/8691
#[allow(dead_code)]
#[cfg(feature = "vhost-user-fs")]
pub fn update_memory<AS: GuestAddressSpace>(&mut self, vm_as: &AS) -> VirtioResult<()> {
let master = match self.conn.as_mut() {
Some(conn) => conn,