Remove module-level allowed lints in system call handlers

This commit is contained in:
Zhang Junyang
2024-08-11 12:17:25 +00:00
committed by Tate, Hongliang Tian
parent a739b3828d
commit 19ad2a2eb4
12 changed files with 11 additions and 30 deletions

View File

@ -1,7 +1,5 @@
// SPDX-License-Identifier: MPL-2.0
#![allow(dead_code)]
use super::SyscallReturn;
use crate::{
prelude::*,
@ -111,5 +109,6 @@ impl From<SigStack> for stack_t {
}
}
#[allow(unused)]
const SIGSTKSZ: usize = 8192;
const MINSTKSZ: usize = 2048;