summaryrefslogtreecommitdiffstats
path: root/navigation/menu_cache.go
diff options
context:
space:
mode:
Diffstat (limited to 'navigation/menu_cache.go')
-rw-r--r--navigation/menu_cache.go6
1 files changed, 0 insertions, 6 deletions
diff --git a/navigation/menu_cache.go b/navigation/menu_cache.go
index 4287ed875..b6350cd01 100644
--- a/navigation/menu_cache.go
+++ b/navigation/menu_cache.go
@@ -39,12 +39,6 @@ func newMenuCache() *menuCache {
return &menuCache{m: make(map[string][]menuCacheEntry)}
}
-func (c *menuCache) clear() {
- c.Lock()
- defer c.Unlock()
- c.m = make(map[string][]menuCacheEntry)
-}
-
type menuCache struct {
sync.RWMutex
m map[string][]menuCacheEntry