scripts/list-removed: Remove some unused code.