syscall: Fix one issue detected by vet.

R=golang-dev, dsymonds
CC=golang-dev
https://golang.org/cl/14038044
This commit is contained in:
Robin Eklind 2013-09-28 11:06:50 +10:00 committed by David Symonds
parent 48da6754e2
commit 9bd1f49e37

View file

@ -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.