Skip to content
Prev Previous commit
Next Next commit
fixup: remove unnecessary delete
  • Loading branch information
Trott committed Sep 26, 2015
commit e1ccbadaaaafbd3395eef53b40b78690e4d2c699
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