mirror of
https://github.com/DragonOS-Community/DragonOS.git
synced 2025-06-20 01:46:31 +00:00
remove unnecessary warnings and impls
This commit is contained in:
@ -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 {
|
||||||
|
@ -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)
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user