krb5_wrap: remove duplicate declaration and dead ifdef
[nivanova/samba-autobuild/.git] / libcli / auth / krb5_wrap.c
index f528822b1984896b432c2e5032cbf85eda7c1ea7..c16b35dceea9f83300f6a9c91338615bcea38b60 100644 (file)
@@ -171,10 +171,6 @@ krb5_error_code smb_krb5_unparse_name(TALLOC_CTX *mem_ctx,
                                            const char *name, 
                                            krb5_principal *principal)
 {
-#ifdef HAVE_KRB5_PARSE_NAME_NOREALM
-       return smb_krb5_parse_name_norealm_conv(context, name, principal);
-#endif
-
        /* we are cheating here because parse_name will in fact set the realm.
         * We don't care as the only caller of smb_krb5_parse_name_norealm
         * ignores the realm anyway when calling