mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-17 08:40:52 +00:00
kernel: fix extra-parens warning in syscall
Remove an extra set of parenthesis. Signed-off-by: Sean Cross <sean@xobs.io>
This commit is contained in:
parent
e87eb112ae
commit
8d99ee06cf
1 changed files with 1 additions and 1 deletions
|
|
@ -754,7 +754,7 @@ pub fn handle_inner(pid: PID, tid: TID, in_irq: bool, call: SysCall) -> SysCallR
|
||||||
}),
|
}),
|
||||||
SysCall::CreateServerId => SystemServices::with_mut(|ss| {
|
SysCall::CreateServerId => SystemServices::with_mut(|ss| {
|
||||||
ss.create_server_id()
|
ss.create_server_id()
|
||||||
.map(|(sid)| xous_kernel::Result::ServerID(sid))
|
.map(|sid| xous_kernel::Result::ServerID(sid))
|
||||||
}),
|
}),
|
||||||
SysCall::TryConnect(sid) => SystemServices::with_mut(|ss| {
|
SysCall::TryConnect(sid) => SystemServices::with_mut(|ss| {
|
||||||
ss.connect_to_server(sid)
|
ss.connect_to_server(sid)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue