remove unnecessary warnings and impls

This commit is contained in:
2024-10-17 07:22:29 +00:00
parent 6c812d2607
commit 149fc8377c
2 changed files with 0 additions and 5 deletions

View File

@ -407,10 +407,6 @@ impl Device for VirtIOBlkDevice {
fn set_dev_parent(&self, parent: Option<Weak<dyn Device>>) { fn set_dev_parent(&self, parent: Option<Weak<dyn Device>>) {
self.inner().device_common.parent = parent; self.inner().device_common.parent = parent;
} }
fn attribute_groups(&self) -> Option<&'static [&'static dyn AttributeGroup]> {
None
}
} }
impl KObject for VirtIOBlkDevice { impl KObject for VirtIOBlkDevice {

View File

@ -23,7 +23,6 @@ impl IrqHandler for DefaultNetIrqHandler {
_dynamic_data: Option<Arc<dyn IrqHandlerData>>, _dynamic_data: Option<Arc<dyn IrqHandlerData>>,
) -> Result<IrqReturn, SystemError> { ) -> Result<IrqReturn, SystemError> {
// poll_ifaces_try_lock_onetime().ok(); // poll_ifaces_try_lock_onetime().ok();
log::warn!("DefaultNetIrqHandler: poll_ifaces_try_lock_onetime -> poll_ifaces");
poll_ifaces(); poll_ifaces();
Ok(IrqReturn::Handled) Ok(IrqReturn::Handled)
} }