Remove redundant local variable.