Fix a bunch of warnings

This commit is contained in:
bjorn3
2026-04-03 20:57:39 +02:00
parent 3cbce1b9ac
commit b805336cfc
7 changed files with 22 additions and 35 deletions
-3
View File
@@ -486,9 +486,6 @@ pub struct BorrowedHtBuf {
head_and_not_tail: bool,
}
impl BorrowedHtBuf {
pub fn head(token: &mut CleanLockToken) -> Result<Self> {
Self::head_locked(token.downgrade())
}
pub fn head_locked(token: LockToken<L3>) -> Result<Self> {
let current = context::current();
let frame = &mut current.write(token).syscall_head;