/* Returns 0 on success or a negative error code.  */
int __rtnl_link_register(struct rtnl_link_ops *ops)
/* Returns 0 on success or a negative error code.  */
int __rtnl_link_register(struct rtnl_link_ops *ops)
{
	if (!ops->dellink)
		ops->dellink = unregister_netdevice_queue;
	list_add_tail(&ops->list, &link_ops);
	return 0;
}