Skip to content

Commit

Permalink
Remove unused field innerMapCache from PerClusterCTMap
Browse files Browse the repository at this point in the history
Signed-off-by: Yutaro Hayakawa <yutaro.hayakawa@isovalent.com>
  • Loading branch information
YutaroHayakawa authored and julianwiedmann committed May 31, 2023
1 parent e50022e commit 667f6b4
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions pkg/maps/ctmap/per_cluster_ctmap.go
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,7 @@ type dummyPerClusterCTMaps struct {
// should retire this entire file.
type PerClusterCTMap struct {
*bpf.Map
m mapType
innerMapCache map[uint32]*Map
m mapType
}

// +k8s:deepcopy-gen=true
Expand Down Expand Up @@ -506,9 +505,8 @@ func newPerClusterCTMap(name string, m mapType) (*PerClusterCTMap, error) {
}

return &PerClusterCTMap{
Map: om,
m: m,
innerMapCache: make(map[uint32]*Map),
Map: om,
m: m,
}, nil
}

Expand Down

0 comments on commit 667f6b4

Please sign in to comment.