fix warnnings

This commit is contained in:
yufeng 2023-03-03 17:14:24 +08:00 committed by Yifan Wu
parent 5a63d8e1fe
commit 1896ddf509
2 changed files with 5 additions and 3 deletions

View file

@ -1,7 +1,7 @@
use crate::net::port_table::{listen, PortFd, accept, port_acceptable};
use crate::net::udp::UDP;
use crate::net::{IPv4, net_interrupt_handler};
use crate::task::{current_process, block_current_and_run_next, current_task, current_trap_cx};
use crate::task::{current_process, current_task, current_trap_cx};
use alloc::sync::Arc;
// just support udp