summaryrefslogtreecommitdiffhomepage
path: root/conn.go
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2018-05-23 02:41:41 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2018-05-23 03:58:27 +0200
commit40d5ff0c705bb3034513b3ee3b25b0dbb8a9ac06 (patch)
treec76022d8de9050cb994cc11b01137cf568031baa /conn.go
parent5a2228a5c910ada948677f1dd3fcc59f74e5cb20 (diff)
Cleanup
Diffstat (limited to 'conn.go')
-rw-r--r--conn.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/conn.go b/conn.go
index ded7419..c0a91c9 100644
--- a/conn.go
+++ b/conn.go
@@ -66,8 +66,6 @@ func parseEndpoint(s string) (*net.UDPAddr, error) {
return addr, err
}
-/* Must hold device and net lock
- */
func unsafeCloseBind(device *Device) error {
var err error
netc := &device.net