Remove redundant local