Skip to content

Commit c45c465

Browse files
committed
fix: delete unnecessary functions 2
Signed-off-by: nokosaaan <nishimura.r.019@ms.saitama-u.ac.jp>
1 parent d164129 commit c45c465

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

awkernel_async_lib/src/task.rs

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -221,20 +221,6 @@ impl TaskInfo {
221221
pub fn panicked(&self) -> bool {
222222
self.panicked
223223
}
224-
225-
#[inline(always)]
226-
pub fn set_dag_info(&mut self, dag_id: u32, node_index: u32) {
227-
self.dag_id = Some(dag_id);
228-
self.node_index = Some(node_index);
229-
}
230-
231-
#[inline(always)]
232-
pub fn get_dag_info(&self) -> Option<(u32, u32)> {
233-
match (self.dag_id, self.node_index) {
234-
(Some(dag_id), Some(node_index)) => Some((dag_id, node_index)),
235-
_ => None,
236-
}
237-
}
238224
}
239225

240226
/// State of task.

0 commit comments

Comments
 (0)