Remove redundant var.