mirror of
https://github.com/DragonOS-Community/DragonOS.git
synced 2025-06-08 14:16:47 +00:00
删除无用注释
This commit is contained in:
parent
e67348c9b6
commit
49000bcc05
@ -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();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user