container/std/seccomp: remove ineffectual typecast

This is no longer necessary since the return type changed.

Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
2025-11-07 05:45:51 +09:00
parent 7ee702a44e
commit 38e9128a8c

View File

@@ -70,7 +70,7 @@ func (num *ScmpSyscall) UnmarshalJSON(data []byte) error {
if n, ok := SyscallResolveName(name); !ok {
return SyscallNameError(name)
} else {
*num = ScmpSyscall(n)
*num = n
return nil
}
}