summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--source3/include/proto.h1
-rw-r--r--source3/param/loadparm.c11
2 files changed, 0 insertions, 12 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index 8585e911ff6..9024f6b3b85 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -1050,7 +1050,6 @@ void *lp_local_ptr_by_snum(int snum, struct parm_struct *parm);
bool lp_do_parameter(int snum, const char *pszParmName, const char *pszParmValue);
bool lp_set_cmdline(const char *pszParmName, const char *pszParmValue);
bool lp_set_option(const char *option);
-bool lp_is_default(int snum, struct parm_struct *parm);
bool dump_a_parameter(int snum, char *parm_name, FILE * f, bool isGlobal);
struct parm_struct *lp_get_parameter(const char *param_name);
bool lp_snum_ok(int iService);
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c
index d71a8a0bded..0e69be94e18 100644
--- a/source3/param/loadparm.c
+++ b/source3/param/loadparm.c
@@ -3556,17 +3556,6 @@ static void dump_globals(FILE *f)
}
/***************************************************************************
- Return true if a local parameter is currently set to the global default.
-***************************************************************************/
-
-bool lp_is_default(int snum, struct parm_struct *parm)
-{
- return lpcfg_equal_parameter(parm->type,
- lp_parm_ptr(ServicePtrs[snum], parm),
- lp_parm_ptr(NULL, parm));
-}
-
-/***************************************************************************
Display the contents of a single services record.
***************************************************************************/