diff --git a/src/pkg/syscall/exec_linux.go b/src/pkg/syscall/exec_linux.go index 81dc80800b7..a1656e8dce8 100644 --- a/src/pkg/syscall/exec_linux.go +++ b/src/pkg/syscall/exec_linux.go @@ -242,11 +242,6 @@ childerror: for { RawSyscall(SYS_EXIT, 253, 0, 0) } - - // Calling panic is not actually safe, - // but the for loop above won't break - // and this shuts up the compiler. - panic("unreached") } // Try to open a pipe with O_CLOEXEC set on both file descriptors.