diff options
author | Andrew Bartlett <abartlet@samba.org> | 2014-01-27 15:00:02 +1300 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2014-01-30 01:21:49 +0100 |
commit | ebb04f4037cc80df7a71c4d08184f8e9a8c60cdc (patch) | |
tree | a02dce87b0bb34373072db03bf6e6095b9963a13 /source3/param | |
parent | 02d60cd028e2d33b591056b8b07b2fc9b9c262b1 (diff) | |
download | samba-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.c | 11 |
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. ***************************************************************************/ |