Remove lines in register.cxx that do nothing.

I suspect these used to be followed by print statements, which
were later removed.