Remove redundant variable