Skip to content

Commit ccaef76

Browse files
committed
regen
1 parent e1ec38a commit ccaef76

File tree

3 files changed

+0
-8
lines changed

3 files changed

+0
-8
lines changed

cmap_iface_iface.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -227,8 +227,6 @@ func (cm *CMap) iterContext(ctx context.Context, ch chan<- *KV, locked bool) {
227227
// NumShards returns the number of shards in the map.
228228
func (cm *CMap) NumShards() int { return len(cm.shards) }
229229

230-
var zero_interface interface{} // nolint
231-
232230
func hasher(key interface{}) uint32 { return hashers.TypeHasher32(key) }
233231

234232
// LMap is a simple sync.RWMutex locked map.

stringcmap/cmap_string_iface.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -227,9 +227,6 @@ func (cm *CMap) iterContext(ctx context.Context, ch chan<- *KV, locked bool) {
227227
// NumShards returns the number of shards in the map.
228228
func (cm *CMap) NumShards() int { return len(cm.shards) }
229229

230-
var zero_interface interface{} // nolint
231-
var zero_string string // nolint
232-
233230
func hasher(key string) uint32 { return hashers.Fnv32(key) }
234231

235232
// LMap is a simple sync.RWMutex locked map.

u64cmap/cmap_u64_iface.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -227,9 +227,6 @@ func (cm *CMap) iterContext(ctx context.Context, ch chan<- *KV, locked bool) {
227227
// NumShards returns the number of shards in the map.
228228
func (cm *CMap) NumShards() int { return len(cm.shards) }
229229

230-
var zero_interface interface{} // nolint
231-
var zero_uint64 uint64 // nolint
232-
233230
// hasher uses Mix64to32 because it's faster on 64bit
234231
func hasher(key uint64) uint32 {
235232
return hashers.Mix64to32(uint64(key)) // nolint:unconvert

0 commit comments

Comments
 (0)