From 54f650a3be2ccf7cd44e9929e3e132ef93f101ad Mon Sep 17 00:00:00 2001 From: Ferenc Szabo Date: Sat, 27 Oct 2018 16:18:42 +0200 Subject: swarm: clean up unused private types and functions (#17989) * swarm: clean up unused private types and functions Those that were identified by code inspection tool. * swarm/storage: move/add Proximity GoDoc from deleted private function The mentioned proximity() private function was deleted in: 1ca8fc1e6fa0ab4ab1aaca06d6fb32e173cd5f2f --- swarm/network/protocol_test.go | 4 ---- 1 file changed, 4 deletions(-) (limited to 'swarm/network/protocol_test.go') diff --git a/swarm/network/protocol_test.go b/swarm/network/protocol_test.go index 4b83c7a27..cdf370f35 100644 --- a/swarm/network/protocol_test.go +++ b/swarm/network/protocol_test.go @@ -50,10 +50,6 @@ type testStore struct { values map[string][]byte } -func newTestStore() *testStore { - return &testStore{values: make(map[string][]byte)} -} - func (t *testStore) Load(key string) ([]byte, error) { t.Lock() defer t.Unlock() -- cgit