Remove unneeded tree traversal (now that lockInfo is topo sorted)