Skip to content

Commit

Permalink
runtime: remove unused _F_SETFL const on linux
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
tklauser committed Feb 24, 2020
1 parent 4e8badb commit 90c71ce
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 4 deletions.
1 change: 0 additions & 1 deletion src/runtime/defs_linux_386.go
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,6 @@ const (
_EPOLL_CTL_MOD = 0x3

_AF_UNIX = 0x1
_F_SETFL = 0x4
_SOCK_DGRAM = 0x2
)

Expand Down
1 change: 0 additions & 1 deletion src/runtime/defs_linux_amd64.go
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,6 @@ const (
_EPOLL_CTL_MOD = 0x3

_AF_UNIX = 0x1
_F_SETFL = 0x4
_SOCK_DGRAM = 0x2
)

Expand Down
1 change: 0 additions & 1 deletion src/runtime/defs_linux_arm.go
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,6 @@ const (
_EPOLL_CTL_MOD = 0x3

_AF_UNIX = 0x1
_F_SETFL = 0x4
_SOCK_DGRAM = 0x2
)

Expand Down
1 change: 0 additions & 1 deletion src/runtime/defs_linux_arm64.go
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,6 @@ const (
_EPOLL_CTL_MOD = 0x3

_AF_UNIX = 0x1
_F_SETFL = 0x4
_SOCK_DGRAM = 0x2
)

Expand Down

0 comments on commit 90c71ce

Please sign in to comment.