Remove redundant var statement