1 use crate::include::bindings::bindings::wait_queue_head_t; 2 3 use super::list::list_init; 4 5 impl Default for wait_queue_head_t { 6 fn default() -> Self { 7 let mut x = Self { 8 wait_list: Default::default(), 9 lock: Default::default(), 10 }; 11 list_init(&mut x.wait_list); 12 return x; 13 } 14 } 15