Remove an unnecessary variable