From c363815809b4f6ff06f42baddaf4545de4cb9217 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Tue, 3 Apr 2012 13:23:18 +1000 Subject: s3-smbd: Inline init_modules() into only caller --- source3/lib/util.c | 9 --------- 1 file changed, 9 deletions(-) (limited to 'source3/lib/util.c') diff --git a/source3/lib/util.c b/source3/lib/util.c index 7be056c68b..d6e8ed8090 100644 --- a/source3/lib/util.c +++ b/source3/lib/util.c @@ -2446,12 +2446,3 @@ bool map_open_params_to_ntcreate(const char *smb_base_fname, return True; } - - -void init_modules(void) -{ - /* FIXME: This can cause undefined symbol errors : - * smb_register_vfs() isn't available in nmbd, for example */ - if(lp_preload_modules()) - smb_load_modules(lp_preload_modules()); -} -- cgit