mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
cmd: remove dead code
Fixes #74076 Change-Id: Icc67b3d4e342f329584433bd1250c56ae8f5a73d Reviewed-on: https://go-review.googlesource.com/c/go/+/690635 Reviewed-by: Alan Donovan <adonovan@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Commit-Queue: Alan Donovan <adonovan@google.com> Reviewed-by: Keith Randall <khr@golang.org> Reviewed-by: Keith Randall <khr@google.com> Auto-Submit: Alan Donovan <adonovan@google.com> Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
This commit is contained in:
parent
a2c45f0eb1
commit
4ee0df8c46
52 changed files with 1 additions and 1033 deletions
|
|
@ -2980,11 +2980,6 @@ type desiredStateEntry struct {
|
|||
regs [4]register
|
||||
}
|
||||
|
||||
func (d *desiredState) clear() {
|
||||
d.entries = d.entries[:0]
|
||||
d.avoid = 0
|
||||
}
|
||||
|
||||
// get returns a list of desired registers for value vid.
|
||||
func (d *desiredState) get(vid ID) [4]register {
|
||||
for _, e := range d.entries {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue