Remove redundant variable definition