Remove unnecessary variable allocation