mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-16 08:38:26 +00:00
kernel: syscall: ignore final Clippy warning
This warning is due to some debug information that is currently unused. Signed-off-by: Sean Cross <sean@xobs.io>
This commit is contained in:
parent
cc8dc49dba
commit
0a6a1f2edd
1 changed files with 1 additions and 0 deletions
|
|
@ -601,6 +601,7 @@ pub fn handle(pid: PID, tid: TID, in_irq: bool, call: SysCall) -> SysCallResult
|
|||
#[cfg(feature = "debug-print")]
|
||||
print!("KERNEL({}:{}): Syscall {:x?}", pid, tid, call);
|
||||
|
||||
#[allow(clippy::let_and_return)]
|
||||
let result = if in_irq && !call.can_call_from_interrupt() {
|
||||
Err(xous_kernel::Error::InvalidSyscall)
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Reference in a new issue