]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
param: remove two unused #defines
authorMichael Adam <obnox@samba.org>
Wed, 24 Sep 2014 08:30:17 +0000 (10:30 +0200)
committerIra Cooper <ira@samba.org>
Wed, 22 Apr 2015 14:37:12 +0000 (16:37 +0200)
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Ira Cooper <ira@samba.org>
Autobuild-User(master): Ira Cooper <ira@samba.org>
Autobuild-Date(master): Wed Apr 22 16:37:12 CEST 2015 on sn-devel-104

lib/param/loadparm.c

index ddb806a238db8276de2e07080f75a4a84541eaff..34974d7c298f907c564d8b46193f26073b15967a 100644 (file)
@@ -140,9 +140,6 @@ static const char *lpcfg_string(const char *s)
 /* this global context supports the lp_*() function varients */
 static struct loadparm_context *global_loadparm_context;
 
-#define lpcfg_default_service global_loadparm_context->sDefault
-#define lpcfg_global_service(i) global_loadparm_context->services[i]
-
 #define FN_GLOBAL_STRING(fn_name,var_name) \
  _PUBLIC_ char *lpcfg_ ## fn_name(struct loadparm_context *lp_ctx, TALLOC_CTX *ctx) {\
         if (lp_ctx == NULL) return NULL;                               \