mm: cleanup register_node()