Removed an unnecessary variable.