Remove some dead variables.