go /
net /
2f7c1cc3da61ea09aa602e3dda232772bb2ca926 webdav: remove unnecessary "n.byExpiryIndex = -1".
These occur after a heap.Remove call, and heap.Remove calls
byExpiry.Pop, which already sets n.byExpiryIndex to -1.
The memLS.consistent method in lock_test.go checks that the expiry
fields are all consistent.
Change-Id: I09f5d02999e4635f15d1723f89a86b951ed95950
Reviewed-on: https://go-review.googlesource.com/3563
Reviewed-by: Dave Cheney <dave@cheney.net>
Reviewed-by: Nick Cooper <nmvc@google.com>
1 file changed