summaryrefslogtreecommitdiff
path: root/fs/smb/client/cifs_unicode.c
diff options
context:
space:
mode:
authorDr. David Alan Gilbert <linux@treblig.org>2023-08-17 01:22:31 +0100
committerSteve French <stfrench@microsoft.com>2023-08-30 08:55:52 -0500
commitde54845290cee3f65dcd03b35a2bd7f2f7aed2ac (patch)
treef37f6f4f395fd1339f2c52881248baf248440c83 /fs/smb/client/cifs_unicode.c
parent089f7f591348ca3325639f541fa4f78d9540dab5 (diff)
fs/smb/client: Use common code in client
Now we've got the common code, use it for the client as well. Note there's a change here where we're using the server version of UniStrcat now which had different types (__le16 vs wchar_t) but it's not interpreting the value other than checking for 0, however we do need casts to keep sparse happy. Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org> Reviewed-by: Dave Kleikamp <dave.kleikamp@oracle.com> Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'fs/smb/client/cifs_unicode.c')
-rw-r--r--fs/smb/client/cifs_unicode.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/smb/client/cifs_unicode.c b/fs/smb/client/cifs_unicode.c
index e7582dd79179..79d99a913944 100644
--- a/fs/smb/client/cifs_unicode.c
+++ b/fs/smb/client/cifs_unicode.c
@@ -8,7 +8,6 @@
#include <linux/slab.h>
#include "cifs_fs_sb.h"
#include "cifs_unicode.h"
-#include "cifs_uniupr.h"
#include "cifspdu.h"
#include "cifsglob.h"
#include "cifs_debug.h"