Remove unused locale variable