Skip to content

Commit

Permalink
fixup: remove unnecessary delete
Browse files Browse the repository at this point in the history
  • Loading branch information
Trott committed Sep 26, 2015
1 parent 4e10014 commit e1ccbad
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lib/timers.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,6 @@ function insert(item, msecs) {
lists[msecs].timer = timer;
}

// Remove item if it exists and append it to the end regardless.
lists[msecs].delete(item);
lists[msecs].add(item);
}

Expand Down

0 comments on commit e1ccbad

Please sign in to comment.