mirror of
https://github.com/DragonOS-Community/DragonOS.git
synced 2025-06-18 08:06:32 +00:00
删除无用注释
This commit is contained in:
@ -162,9 +162,7 @@ impl Attribute for UeventAttr {
|
||||
SystemError::EINVAL
|
||||
})?;
|
||||
let iface_id = net_device.nic_id();
|
||||
// let device_name = net_device.iface_name();
|
||||
let device_name = device.name();
|
||||
// writeln!(&mut uevent_content, "DEVTYPE=net").unwrap();
|
||||
writeln!(&mut uevent_content, "INTERFACE={}", device_name).unwrap();
|
||||
writeln!(&mut uevent_content, "IFINDEX={}", iface_id).unwrap();
|
||||
}
|
||||
|
Reference in New Issue
Block a user