Remove unnecessary register