}
 
 int smb2_parse_native_symlink(char **target, const char *buf, unsigned int len,
-                             bool unicode, bool relative,
+                             bool relative,
                              const char *full_path,
                              struct cifs_sb_info *cifs_sb)
 {
        int rc;
        int i;
 
-       /* Check that length it valid for unicode/non-unicode mode */
-       if (!len || (unicode && (len % 2))) {
+       /* Check that length it valid */
+       if (!len || (len % 2)) {
                cifs_dbg(VFS, "srv returned malformed symlink buffer\n");
                rc = -EIO;
                goto out;
        }
 
        /*
-        * Check that buffer does not contain UTF-16 null codepoint in unicode
-        * mode or null byte in non-unicode mode because Linux cannot process
-        * symlink with null byte.
+        * Check that buffer does not contain UTF-16 null codepoint
+        * because Linux cannot process symlink with null byte.
         */
-       if ((unicode && UniStrnlen((wchar_t *)buf, len/2) != len/2) ||
-           (!unicode && strnlen(buf, len) != len)) {
+       if (UniStrnlen((wchar_t *)buf, len/2) != len/2) {
                cifs_dbg(VFS, "srv returned null byte in native symlink target location\n");
                rc = -EIO;
                goto out;
        }
 
-       smb_target = cifs_strndup_from_utf16(buf, len, unicode, cifs_sb->local_nls);
+       smb_target = cifs_strndup_from_utf16(buf, len, true, cifs_sb->local_nls);
        if (!smb_target) {
                rc = -ENOMEM;
                goto out;
 }
 
 static int parse_reparse_symlink(struct reparse_symlink_data_buffer *sym,
-                                u32 plen, bool unicode,
+                                u32 plen,
                                 struct cifs_sb_info *cifs_sb,
                                 const char *full_path,
                                 struct cifs_open_info_data *data)
        return smb2_parse_native_symlink(&data->symlink_target,
                                         sym->PathBuffer + offs,
                                         len,
-                                        unicode,
                                         le32_to_cpu(sym->Flags) & SYMLINK_FLAG_RELATIVE,
                                         full_path,
                                         cifs_sb);
 int parse_reparse_point(struct reparse_data_buffer *buf,
                        u32 plen, struct cifs_sb_info *cifs_sb,
                        const char *full_path,
-                       bool unicode, struct cifs_open_info_data *data)
+                       struct cifs_open_info_data *data)
 {
        struct cifs_tcon *tcon = cifs_sb_master_tcon(cifs_sb);
 
        case IO_REPARSE_TAG_SYMLINK:
                return parse_reparse_symlink(
                        (struct reparse_symlink_data_buffer *)buf,
-                       plen, unicode, cifs_sb, full_path, data);
+                       plen, cifs_sb, full_path, data);
        case IO_REPARSE_TAG_LX_SYMLINK:
                return parse_reparse_wsl_symlink(
                        (struct reparse_wsl_symlink_data_buffer *)buf,
 
        buf = (struct reparse_data_buffer *)((u8 *)io +
                                             le32_to_cpu(io->OutputOffset));
-       return parse_reparse_point(buf, plen, cifs_sb, full_path, true, data);
+       return parse_reparse_point(buf, plen, cifs_sb, full_path, data);
 }
 
 static bool wsl_to_fattr(struct cifs_open_info_data *data,