summaryrefslogtreecommitdiffstats
path: root/fs/ntfs/unistr.c
diff options
context:
space:
mode:
authorPekka Enberg <penberg@cs.helsinki.fi>2005-05-25 20:15:34 +0200
committerAnton Altaparmakov <aia21@cantab.net>2005-05-27 17:00:53 +0200
commit2fb21db2548fc8b196eb8d8425f05ee1965d5344 (patch)
treeb319e97bfb3e50bcde9a82cf089d86a7dcb03df5 /fs/ntfs/unistr.c
parentMerge with /usr/src/ntfs-2.6.git. (diff)
downloadlinux-2fb21db2548fc8b196eb8d8425f05ee1965d5344.tar.xz
linux-2fb21db2548fc8b196eb8d8425f05ee1965d5344.zip
NTFS: Remove spurious void pointer casts from fs/ntfs/.
Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi> Signed-off-by: Anton Altaparmakov <aia21@cantab.net>
Diffstat (limited to 'fs/ntfs/unistr.c')
-rw-r--r--fs/ntfs/unistr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ntfs/unistr.c b/fs/ntfs/unistr.c
index 560b0ea255b0..19c42e231b44 100644
--- a/fs/ntfs/unistr.c
+++ b/fs/ntfs/unistr.c
@@ -264,7 +264,7 @@ int ntfs_nlstoucs(const ntfs_volume *vol, const char *ins,
/* We don't trust outside sources. */
if (ins) {
- ucs = (ntfschar*)kmem_cache_alloc(ntfs_name_cache, SLAB_NOFS);
+ ucs = kmem_cache_alloc(ntfs_name_cache, SLAB_NOFS);
if (ucs) {
for (i = o = 0; i < ins_len; i += wc_len) {
wc_len = nls->char2uni(ins + i, ins_len - i,