From 1fe6e18d441bf319b39bc8798f642590554c964e Mon Sep 17 00:00:00 2001 From: Kevin Atkinson Date: Sat, 10 Jun 2017 01:55:04 -0400 Subject: [PATCH] repub: remove unused field License: MIT Signed-off-by: Kevin Atkinson --- namesys/republisher/repub.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/namesys/republisher/repub.go b/namesys/republisher/repub.go index 9fa0907da..b33328b68 100644 --- a/namesys/republisher/repub.go +++ b/namesys/republisher/repub.go @@ -3,7 +3,6 @@ package republisher import ( "context" "errors" - "sync" "time" keystore "github.com/ipfs/go-ipfs/keystore" @@ -41,9 +40,6 @@ type Republisher struct { // how long records that are republished should be valid for RecordLifetime time.Duration - - entrylock sync.Mutex - entries map[peer.ID]struct{} } // NewRepublisher creates a new Republisher