Remove one useless if statement