[#1494] *: Fix linter warnings

Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
This commit is contained in:
Evgenii Stratonikov 2022-06-08 11:36:50 +03:00 committed by fyrchik
parent bbf8b8e74d
commit f602d05b0a
5 changed files with 6 additions and 25 deletions

View file

@ -82,10 +82,6 @@ func (c *ttlNetCache) remove(key interface{}) {
c.cache.Remove(key)
}
func (c *ttlNetCache) keys() []interface{} {
return c.cache.Keys()
}
// entity that provides LRU cache interface.
type lruNetCache struct {
cache *lru.Cache