Skip to content

Commit 96325c6

Browse files
kolyshkindrakenclimber
authored andcommitted
(ScmpSyscall).toNative: remove
This was added by commit 78c92cb but apparently was never ever used. Signed-off-by: Kir Kolyshkin <[email protected]> Acked-by: Paul Moore <[email protected]> Signed-off-by: Tom Hromatka <[email protected]>
1 parent b6be4e8 commit 96325c6

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

seccomp_internal.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -692,10 +692,6 @@ func (a scmpFilterAttr) toNative() uint32 {
692692
}
693693
}
694694

695-
func (a ScmpSyscall) toNative() C.uint32_t {
696-
return C.uint32_t(a)
697-
}
698-
699695
func syscallFromNative(a C.int) ScmpSyscall {
700696
return ScmpSyscall(a)
701697
}

0 commit comments

Comments
 (0)