Remove unreachable code

This should've been caught above.
This commit is contained in:
Sebastian Markbage committed 2016-06-30 12:55:55 -07:00
1 parent 4a8651412d
commit 6a8cedf985
1 file changed
-3
@@ -73,9 +73,6 @@ exports.findNextUnitOfWorkAtPriority = function(currentRoot : Fiber, priorityLev
current.pendingWorkPriority = NoWork;
}
if (current === currentRoot) {
if (current.pendingWorkPriority <= priorityLevel) {
current.pendingWorkPriority = NoWork;
}
return null;
}
while (!current.sibling) {