Skip to content

Commit fc9f116

Browse files
committed
mmaprototype: remove unused lint suppression
I think these are all used now, and if they're not, I'd like to know. Epic: CRDB-25222
1 parent 0fa914d commit fc9f116

File tree

1 file changed

+0
-18
lines changed

1 file changed

+0
-18
lines changed

pkg/kv/kvserver/allocator/mmaprototype/messages.go

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -60,21 +60,3 @@ type RangeMsg struct {
6060
Conf roachpb.SpanConfig
6161
RangeLoad RangeLoad
6262
}
63-
64-
func (rm *RangeMsg) isDeletedRange() bool {
65-
return len(rm.Replicas) == 0
66-
}
67-
68-
// Avoid unused lint errors.
69-
70-
var _ = (&RangeMsg{}).isDeletedRange
71-
var _ = StoreLoadMsg{}.StoreID
72-
var _ = StoreLoadMsg{}.Load
73-
var _ = StoreLoadMsg{}.Capacity
74-
var _ = StoreLoadMsg{}.SecondaryLoad
75-
var _ = StoreLeaseholderMsg{}.StoreID
76-
var _ = StoreLeaseholderMsg{}.Ranges
77-
var _ = RangeMsg{}.RangeID
78-
var _ = RangeMsg{}.Replicas
79-
var _ = RangeMsg{}.Conf
80-
var _ = RangeMsg{}.RangeLoad

0 commit comments

Comments
 (0)