Remove unused localparams.