net: delete debugging print

Fixes #3030.

R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/5689071
This commit is contained in:
Russ Cox 2012-02-22 15:35:41 -05:00
parent 0427c583a5
commit 213997a730

View file

@ -252,7 +252,9 @@ func (s *pollServer) Run() {
} else { } else {
netfd := s.LookupFD(fd, mode) netfd := s.LookupFD(fd, mode)
if netfd == nil { if netfd == nil {
print("pollServer: unexpected wakeup for fd=", fd, " mode=", string(mode), "\n") // This can happen because the WaitFD runs without
// holding s's lock, so there might be a pending wakeup
// for an fd that has been evicted. No harm done.
continue continue
} }
s.WakeFD(netfd, mode, nil) s.WakeFD(netfd, mode, nil)