]> Cypherpunks repositories - gostls13.git/commit
net: remove another unguarded sysfile == nil check
authorDave Cheney <dave@cheney.net>
Wed, 21 Nov 2012 04:04:22 +0000 (15:04 +1100)
committerDave Cheney <dave@cheney.net>
Wed, 21 Nov 2012 04:04:22 +0000 (15:04 +1100)
commitd28133dc9f452150c116793f3dd086bbe20db3d0
tree7ab9c5a0ea2bc22e7603fb53c2c6c3874554b1cd
parent7bce6f9386153d77ad1293ae1e39cfa214d9d02c
net: remove another unguarded sysfile == nil check

Putting aside the unguarded access to fd.sysfile, the condition will never be true as fd.incref above handles the closed condition.

R=mikioh.mikioh, dvyukov
CC=golang-dev
https://golang.org/cl/6845062
src/pkg/net/fd_unix.go