Skip to content

Commit

Permalink
Remove unused field (#2596)
Browse files Browse the repository at this point in the history
  • Loading branch information
pav-kv authored Jul 27, 2021
1 parent 3650050 commit 40ba8af
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions storage/mysql/tree_storage.go
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,6 @@ type treeTX struct {
treeType trillian.TreeType
hashSizeBytes int
subtreeCache *cache.SubtreeCache
dirty []*storagepb.SubtreeProto
writeRevision int64
}

Expand Down Expand Up @@ -350,10 +349,6 @@ func (t *treeTX) Commit(ctx context.Context) error {
glog.Warningf("TX commit flush error: %v", err)
return err
}
if err := t.storeSubtrees(ctx, t.dirty); err != nil {
glog.Warningf("TX commit flush error: %v", err)
return err
}
}
t.closed = true
if err := t.tx.Commit(); err != nil {
Expand Down

0 comments on commit 40ba8af

Please sign in to comment.