registry: remove unused event code
Merge pull request #648 from bcwaldon/remove-unused-code

registry: remove unused event code