channeldb/db: remove unused buffer pool

This commit is contained in:
Conner Fromknecht committed 2019-04-01 16:25:30 -07:00
1 parent 2f927493c8
commit ac315fd051
1 file changed
-5
-5
View File
@@ -7,7 +7,6 @@ import (
"net" "net"
"os" "os"
"path/filepath" "path/filepath"
"sync"
"time" "time"
"github.com/btcsuite/btcd/btcec" "github.com/btcsuite/btcd/btcec"
@@ -104,10 +103,6 @@ var (
byteOrder = binary.BigEndian byteOrder = binary.BigEndian
) )
var bufPool = &sync.Pool{
New: func() interface{} { return new(bytes.Buffer) },
}
// DB is the primary datastore for the lnd daemon. The database stores // DB is the primary datastore for the lnd daemon. The database stores
// information related to nodes, routing data, open/closed channels, fee // information related to nodes, routing data, open/closed channels, fee
// schedules, and reputation data. // schedules, and reputation data.