param: Remove duplicate initialization of 'share backend' parameter
authorAmitay Isaacs <amitay@gmail.com>
Tue, 1 Nov 2011 05:29:41 +0000 (16:29 +1100)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 8 Nov 2011 01:58:06 +0000 (02:58 +0100)
lib/param/loadparm.c

index e8993a2bd2682d53b2e1f1ed3bba1b749074d138..2a251c140d393afcec9caee90c4dcb1f9ef35a1e 100644 (file)
@@ -3280,8 +3280,6 @@ struct loadparm_context *loadparm_init(TALLOC_CTX *mem_ctx)
 
        lpcfg_do_global_parameter(lp_ctx, "share backend", "classic");
 
-       lpcfg_do_global_parameter(lp_ctx, "share backend", "classic");
-
        lpcfg_do_global_parameter(lp_ctx, "server role", "standalone");
 
        /* options that can be set on the command line must be initialised via