forked from TrueCloudLab/frostfs-node
[#1388] metabase: Drop unused
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
This commit is contained in:
parent
004ff9e9bf
commit
401c398704
1 changed files with 2 additions and 5 deletions
|
@ -77,8 +77,6 @@ func (p *DeletePrm) SetAddresses(addrs ...oid.Address) {
|
|||
type referenceNumber struct {
|
||||
all, cur int
|
||||
|
||||
addr oid.Address
|
||||
|
||||
obj *objectSDK.Object
|
||||
}
|
||||
|
||||
|
@ -295,9 +293,8 @@ func (db *DB) delete(tx *bbolt.Tx, addr oid.Address, refCounter referenceCounter
|
|||
nRef, ok := refCounter[k]
|
||||
if !ok {
|
||||
nRef = &referenceNumber{
|
||||
all: parentLength(tx, parAddr),
|
||||
addr: parAddr,
|
||||
obj: parent,
|
||||
all: parentLength(tx, parAddr),
|
||||
obj: parent,
|
||||
}
|
||||
|
||||
refCounter[k] = nRef
|
||||
|
|
Loading…
Reference in a new issue