1
0
mirror of https://github.com/samba-team/samba.git synced 2025-11-18 00:23:50 +03:00

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>
This commit is contained in:
Andrew Bartlett
2014-01-27 15:00:02 +13:00
committed by Michael Adam
parent 02d60cd028
commit ebb04f4037
2 changed files with 0 additions and 12 deletions

View File

@@ -3555,17 +3555,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.
***************************************************************************/