Skip to content

Commit

Permalink
vacant taskid
Browse files Browse the repository at this point in the history
  • Loading branch information
YuanhuanO committed Oct 7, 2024
1 parent c42d0e1 commit 1747864
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions timing/rob/rob.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,20 +83,6 @@ func (m *MilestoneManager) GetMilestones() []Milestone {
}

func (b *ReorderBuffer) getTaskID() string {
if b.transactions.Len() == 0 {
return ""
}

trans := b.transactions.Front().Value.(*transaction)

if trans.reqFromTop != nil {
return trans.reqFromTop.Meta().ID
}

if trans.reqToBottom != nil {
return trans.reqFromTop.Meta().ID
}

return ""
}

Expand Down

0 comments on commit 1747864

Please sign in to comment.