Looks like a merge resolution kept unused code. The same condition is added a couple lines below this removal.