From 982c9d765050dc1d1846db108b792b89dd77790a Mon Sep 17 00:00:00 2001 From: Matthias Radestock Date: Sat, 11 Jul 2015 11:17:44 +0100 Subject: [PATCH] remove dead code --- ipam/ring/entry.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/ipam/ring/entry.go b/ipam/ring/entry.go index e33bd488..d1d832ed 100644 --- a/ipam/ring/entry.go +++ b/ipam/ring/entry.go @@ -68,10 +68,6 @@ func (es entries) get(token address.Address) (*entry, bool) { return nil, false } -func (es *entries) remove(i int) { - *es = (*es)[:i+copy((*es)[i:], (*es)[i+1:])] -} - // Is token between entries at i and j? // NB i and j can overflow and will wrap // NBB this function does not work very well if there is only one