From e5c0e94f786bd1adf7103715c09615171128d458 Mon Sep 17 00:00:00 2001 From: braam Date: Wed, 27 Mar 2002 20:36:24 +0000 Subject: [PATCH] More 'rpc_register_service' removal --- lustre/include/linux/lustre_net.h | 1 - lustre/ldlm/ldlm_lockd.c | 2 -- 2 files changed, 3 deletions(-) diff --git a/lustre/include/linux/lustre_net.h b/lustre/include/linux/lustre_net.h index bd5e1fd..78a14fd 100644 --- a/lustre/include/linux/lustre_net.h +++ b/lustre/include/linux/lustre_net.h @@ -227,7 +227,6 @@ ptlrpc_init_svc(__u32 bufsize, int req_portal, int rep_portal, char *uuid, void ptlrpc_stop_thread(struct ptlrpc_service *svc); int ptlrpc_start_thread(struct obd_device *dev, struct ptlrpc_service *svc, char *name); -int rpc_register_service(struct ptlrpc_service *service, char *uuid); int rpc_unregister_service(struct ptlrpc_service *service); struct ptlrpc_svc_data { diff --git a/lustre/ldlm/ldlm_lockd.c b/lustre/ldlm/ldlm_lockd.c index 3bc9b1d..fbc74ca 100644 --- a/lustre/ldlm/ldlm_lockd.c +++ b/lustre/ldlm/ldlm_lockd.c @@ -191,8 +191,6 @@ static int ldlm_setup(struct obd_device *obddev, obd_count len, void *data) LDLM_REPLY_PORTAL, "self", ldlm_handle); - rpc_register_service(ldlm->ldlm_service, "self"); - err = ptlrpc_start_thread(obddev, ldlm->ldlm_service, "lustre_dlm"); if (err) CERROR("cannot start thread\n"); -- 1.8.3.1