Skip to content

Commit 90c71ce

Browse files
committed
runtime: remove unused _F_SETFL const on linux
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 <[email protected]> Reviewed-by: Ian Lance Taylor <[email protected]>
1 parent 4e8badb commit 90c71ce

File tree

4 files changed

+0
-4
lines changed

4 files changed

+0
-4
lines changed

src/runtime/defs_linux_386.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,6 @@ const (
9595
_EPOLL_CTL_MOD = 0x3
9696

9797
_AF_UNIX = 0x1
98-
_F_SETFL = 0x4
9998
_SOCK_DGRAM = 0x2
10099
)
101100

src/runtime/defs_linux_amd64.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,6 @@ const (
9191
_EPOLL_CTL_MOD = 0x3
9292

9393
_AF_UNIX = 0x1
94-
_F_SETFL = 0x4
9594
_SOCK_DGRAM = 0x2
9695
)
9796

src/runtime/defs_linux_arm.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,6 @@ const (
8787
_EPOLL_CTL_MOD = 0x3
8888

8989
_AF_UNIX = 0x1
90-
_F_SETFL = 0x4
9190
_SOCK_DGRAM = 0x2
9291
)
9392

src/runtime/defs_linux_arm64.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,6 @@ const (
9191
_EPOLL_CTL_MOD = 0x3
9292

9393
_AF_UNIX = 0x1
94-
_F_SETFL = 0x4
9594
_SOCK_DGRAM = 0x2
9695
)
9796

0 commit comments

Comments
 (0)