mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-18 08:52:45 +00:00
clean up a warning
This commit is contained in:
parent
30042b460c
commit
67c49ddbce
1 changed files with 1 additions and 0 deletions
|
|
@ -42,6 +42,7 @@ pub unsafe fn set_isr_return_pair(pid: PID, tid: TID) {
|
||||||
PREVIOUS_PAIR = Some((pid, tid));
|
PREVIOUS_PAIR = Some((pid, tid));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[allow(dead_code)]
|
||||||
pub unsafe fn take_isr_return_pair() -> Option<(PID, TID)> {
|
pub unsafe fn take_isr_return_pair() -> Option<(PID, TID)> {
|
||||||
PREVIOUS_PAIR.take()
|
PREVIOUS_PAIR.take()
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue