From: Andreas Schneider Date: Thu, 6 Feb 2020 12:31:52 +0000 (+0100) Subject: s3:lib: Remove unneded call to set_local_machine_name() X-Git-Tag: ldb-2.1.1~140 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7a7b597b3dfcbabf5de92222aef207421cd6b4ea;p=thirdparty%2Fsamba.git s3:lib: Remove unneded call to set_local_machine_name() We return the netbios name by default if not set. Signed-off-by: Andreas Schneider Reviewed-by: Jeremy Allison --- diff --git a/source3/lib/util_names.c b/source3/lib/util_names.c index f33a8a7d1ab..15236c913df 100644 --- a/source3/lib/util_names.c +++ b/source3/lib/util_names.c @@ -146,8 +146,6 @@ bool init_names(void) return False; } - set_local_machine_name(lp_netbios_name(),false); - DEBUG( 5, ("Netbios name list:-\n") ); for( n=0; my_netbios_names(n); n++ ) { DEBUGADD( 5, ("my_netbios_names[%d]=\"%s\"\n",