]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/go/internal/lockedfile/internal/filelock: remove unused type token
authorTobias Klauser <tklauser@distanz.ch>
Thu, 29 Sep 2022 10:13:16 +0000 (12:13 +0200)
committerGopher Robot <gobot@golang.org>
Thu, 29 Sep 2022 18:20:11 +0000 (18:20 +0000)
Change-Id: If815d17851e4e4eac026417b820f15d11939d9cc
Reviewed-on: https://go-review.googlesource.com/c/go/+/436595
Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Auto-Submit: Tobias Klauser <tobias.klauser@gmail.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Bryan Mills <bcmills@google.com>
src/cmd/go/internal/lockedfile/internal/filelock/filelock_fcntl.go

index 09354d23061ec78452c36398c6775bbfbfec7c9f..8568048507860055c8c6a71260bc8a3fca407cb3 100644 (file)
@@ -39,8 +39,6 @@ type inodeLock struct {
        queue []<-chan File
 }
 
-type token struct{}
-
 var (
        mu     sync.Mutex
        inodes = map[File]inode{}