Remove useless tmp variable.