Remove unused pattern.