diff options
author | Péter Szilágyi <peterke@gmail.com> | 2017-08-15 00:44:17 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-15 00:44:17 +0800 |
commit | 2403656373f1250e3668227bd9fc94e6e95412b9 (patch) | |
tree | 53ddfebc6a77ea7b8a3f7ac81c58baa8168f729e /swarm/storage/netstore.go | |
parent | ef0edc6e32d98d2fca54076f38cb317f43704900 (diff) | |
parent | 133de3d80659680dc051065cb3baddd92a4e45c5 (diff) | |
download | go-tangerine-2403656373f1250e3668227bd9fc94e6e95412b9.tar go-tangerine-2403656373f1250e3668227bd9fc94e6e95412b9.tar.gz go-tangerine-2403656373f1250e3668227bd9fc94e6e95412b9.tar.bz2 go-tangerine-2403656373f1250e3668227bd9fc94e6e95412b9.tar.lz go-tangerine-2403656373f1250e3668227bd9fc94e6e95412b9.tar.xz go-tangerine-2403656373f1250e3668227bd9fc94e6e95412b9.tar.zst go-tangerine-2403656373f1250e3668227bd9fc94e6e95412b9.zip |
Merge pull request #14951 from egonelbre/megacheck_swarm
swarm: fix megacheck warnings
Diffstat (limited to 'swarm/storage/netstore.go')
-rw-r--r-- | swarm/storage/netstore.go | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/swarm/storage/netstore.go b/swarm/storage/netstore.go index 7c0436c3f..746dd85f6 100644 --- a/swarm/storage/netstore.go +++ b/swarm/storage/netstore.go @@ -19,7 +19,6 @@ package storage import ( "fmt" "path/filepath" - "sync" "time" "github.com/ethereum/go-ethereum/log" @@ -40,7 +39,6 @@ type NetStore struct { hashfunc Hasher localStore *LocalStore cloud CloudStore - lock sync.Mutex } // backend engine for cloud store @@ -134,6 +132,4 @@ func (self *NetStore) Get(key Key) (*Chunk, error) { } // Close netstore -func (self *NetStore) Close() { - return -} +func (self *NetStore) Close() {} |