diff options
-rw-r--r-- | lib/param/loadparm.c | 3 | ||||
-rw-r--r-- | lib/param/s3_param.h | 1 | ||||
-rw-r--r-- | source3/param/loadparm_ctx.c | 1 |
3 files changed, 0 insertions, 5 deletions
diff --git a/lib/param/loadparm.c b/lib/param/loadparm.c index aff8986a5f..2b73d40f6c 100644 --- a/lib/param/loadparm.c +++ b/lib/param/loadparm.c @@ -74,9 +74,6 @@ struct loadparm_service *lpcfg_default_service(struct loadparm_context *lp_ctx) { - if (lp_ctx->s3_fns) { - return lp_ctx->s3_fns->get_default_loadparm_service(); - } return lp_ctx->sDefault; } diff --git a/lib/param/s3_param.h b/lib/param/s3_param.h index 539f0d63c5..f31c5bcbaa 100644 --- a/lib/param/s3_param.h +++ b/lib/param/s3_param.h @@ -5,7 +5,6 @@ struct loadparm_s3_helpers { void * (*get_parm_ptr)(struct loadparm_service *service, struct parm_struct *parm); struct loadparm_service * (*get_service)(const char *service_name); - struct loadparm_service * (*get_default_loadparm_service)(void); struct loadparm_service * (*get_servicebynum)(int snum); int (*getservicebyname)(const char *, struct loadparm_service *); int (*get_numservices)(void); diff --git a/source3/param/loadparm_ctx.c b/source3/param/loadparm_ctx.c index 5782a9614b..fdad041e67 100644 --- a/source3/param/loadparm_ctx.c +++ b/source3/param/loadparm_ctx.c @@ -62,7 +62,6 @@ static struct loadparm_s3_helpers s3_fns = .get_service = lp_service_for_s4_ctx, .get_servicebynum = lp_servicebynum_for_s4_ctx, .getservicebyname = getservicebyname, - .get_default_loadparm_service = lp_default_loadparm_service, .get_numservices = lp_numservices, .load = lp_load_for_s4_ctx, .store_cmdline = store_lp_set_cmdline, |