]> Cypherpunks repositories - gostls13.git/commitdiff
runtime: remove unused _F_SETFL const on linux
authorTobias Klauser <tklauser@distanz.ch>
Mon, 20 Jan 2020 09:23:41 +0000 (10:23 +0100)
committerTobias Klauser <tobias.klauser@gmail.com>
Mon, 24 Feb 2020 15:55:01 +0000 (15:55 +0000)
This constant is only used on libc-based platforms (aix, darwin,
solaris).

Change-Id: Ic57d1fe3b1501c5b552eddb9aba11f1e02510082
Reviewed-on: https://go-review.googlesource.com/c/go/+/220421
Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/runtime/defs_linux_386.go
src/runtime/defs_linux_amd64.go
src/runtime/defs_linux_arm.go
src/runtime/defs_linux_arm64.go

index ba5ef18e02b0a089ba8da312380a001abf11ea62..f4db8cf92754c493ad262928487e1635818008c2 100644 (file)
@@ -95,7 +95,6 @@ const (
        _EPOLL_CTL_MOD = 0x3
 
        _AF_UNIX    = 0x1
-       _F_SETFL    = 0x4
        _SOCK_DGRAM = 0x2
 )
 
index 8144354d5af40561df6eefccccd095627ebc24d9..8480d85219936e001a24e8bbd1df04fba85a0142 100644 (file)
@@ -91,7 +91,6 @@ const (
        _EPOLL_CTL_MOD = 0x3
 
        _AF_UNIX    = 0x1
-       _F_SETFL    = 0x4
        _SOCK_DGRAM = 0x2
 )
 
index d24e0a9d6e66f6a5193e60de5f87f4542deda6d6..ea29fd9d98cacbd63f4342ec4f52449cb034c63c 100644 (file)
@@ -87,7 +87,6 @@ const (
        _EPOLL_CTL_MOD = 0x3
 
        _AF_UNIX    = 0x1
-       _F_SETFL    = 0x4
        _SOCK_DGRAM = 0x2
 )
 
index 182887d8d5ea837e0de0b6ff8abea84f431a4521..0690cd35b2e07e60f3a9eabcdda9578d73f73b36 100644 (file)
@@ -91,7 +91,6 @@ const (
        _EPOLL_CTL_MOD = 0x3
 
        _AF_UNIX    = 0x1
-       _F_SETFL    = 0x4
        _SOCK_DGRAM = 0x2
 )