]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
libsmb: Remove unused code
authorVolker Lendecke <vl@samba.org>
Tue, 23 Aug 2022 11:13:48 +0000 (13:13 +0200)
committerJeremy Allison <jra@samba.org>
Fri, 26 Aug 2022 18:54:37 +0000 (18:54 +0000)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/libsmb/clidfs.c

index 5288a7efc64d77589e48efc67468ff203c46bc5b..1e73aa221dc3655f2662c79762e5892976b181ad 100644 (file)
@@ -441,29 +441,6 @@ void cli_cm_display(struct cli_state *cli)
        }
 }
 
-/****************************************************************************
-****************************************************************************/
-
-/****************************************************************************
-****************************************************************************/
-
-#if 0
-void cli_cm_set_credentials(struct user_auth_info *auth_info)
-{
-       SAFE_FREE(cm_creds.username);
-       cm_creds.username = SMB_STRDUP(get_cmdline_auth_info_username(
-                                              auth_info));
-
-       if (get_cmdline_auth_info_got_pass(auth_info)) {
-               cm_set_password(get_cmdline_auth_info_password(auth_info));
-       }
-
-       cm_creds.use_kerberos = get_cmdline_auth_info_use_kerberos(auth_info);
-       cm_creds.fallback_after_kerberos = false;
-       cm_creds.signing_state = get_cmdline_auth_info_signing_state(auth_info);
-}
-#endif
-
 /**********************************************************************
  split a dfs path into the server, share name, and extrapath components
 **********************************************************************/