summaryrefslogtreecommitdiffstats
path: root/source3/param
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2014-01-27 15:00:02 +1300
committerMichael Adam <obnox@samba.org>2014-01-30 01:21:49 +0100
commitebb04f4037cc80df7a71c4d08184f8e9a8c60cdc (patch)
treea02dce87b0bb34373072db03bf6e6095b9963a13 /source3/param
parent02d60cd028e2d33b591056b8b07b2fc9b9c262b1 (diff)
downloadsamba-ebb04f4037cc80df7a71c4d08184f8e9a8c60cdc.tar.gz
samba-ebb04f4037cc80df7a71c4d08184f8e9a8c60cdc.tar.xz
samba-ebb04f4037cc80df7a71c4d08184f8e9a8c60cdc.zip
param: Remove unused lp_is_default (once used by SWAT)
Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
Diffstat (limited to 'source3/param')
-rw-r--r--source3/param/loadparm.c11
1 files changed, 0 insertions, 11 deletions
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.
***************************************************************************/