aboutsummaryrefslogtreecommitdiffstats
path: root/swarm/network
diff options
context:
space:
mode:
authorFerenc Szabo <frncmx@gmail.com>2018-10-27 22:18:42 +0800
committerAnton Evangelatov <anton.evangelatov@gmail.com>2018-10-27 22:18:42 +0800
commit54f650a3be2ccf7cd44e9929e3e132ef93f101ad (patch)
tree7e9a4db7c61b5b3009c4b01ad06b0de0a66f941f /swarm/network
parent8ed4739176f435d09dfa36d8b2e2a3c8c6f407dd (diff)
downloadgo-tangerine-54f650a3be2ccf7cd44e9929e3e132ef93f101ad.tar
go-tangerine-54f650a3be2ccf7cd44e9929e3e132ef93f101ad.tar.gz
go-tangerine-54f650a3be2ccf7cd44e9929e3e132ef93f101ad.tar.bz2
go-tangerine-54f650a3be2ccf7cd44e9929e3e132ef93f101ad.tar.lz
go-tangerine-54f650a3be2ccf7cd44e9929e3e132ef93f101ad.tar.xz
go-tangerine-54f650a3be2ccf7cd44e9929e3e132ef93f101ad.tar.zst
go-tangerine-54f650a3be2ccf7cd44e9929e3e132ef93f101ad.zip
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
Diffstat (limited to 'swarm/network')
-rw-r--r--swarm/network/protocol_test.go4
1 files changed, 0 insertions, 4 deletions
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()