summaryrefslogtreecommitdiffstats
path: root/fs/fuse
diff options
context:
space:
mode:
authorHimangi Saraogi <himangi774@gmail.com>2014-06-26 23:06:52 +0530
committerMiklos Szeredi <mszeredi@suse.cz>2014-07-07 15:28:51 +0200
commit7b3d8bf7718a8de8ac6a25ed7332c1c129839400 (patch)
tree8511d21130e3d01744c2f272a971ec66f663bef7 /fs/fuse
parent154210ccb3a871e631bf39fdeb7a8731d98af87b (diff)
downloadop-kernel-dev-7b3d8bf7718a8de8ac6a25ed7332c1c129839400.zip
op-kernel-dev-7b3d8bf7718a8de8ac6a25ed7332c1c129839400.tar.gz
fuse: inode: drop cast
This patch removes the cast on data of type void * as it is not needed. The following Coccinelle semantic patch was used for making the change: @r@ expression x; void* e; type T; identifier f; @@ ( *((T *)e) | ((T *)x)[...] | ((T *)x)->f | - (T *) e ) Signed-off-by: Himangi Saraogi <himangi774@gmail.com> Acked-by: Julia Lawall <julia.lawall@lip6.fr> Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
Diffstat (limited to 'fs/fuse')
-rw-r--r--fs/fuse/inode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/fuse/inode.c b/fs/fuse/inode.c
index 754dcf2..7b8fc7d 100644
--- a/fs/fuse/inode.c
+++ b/fs/fuse/inode.c
@@ -1006,7 +1006,7 @@ static int fuse_fill_super(struct super_block *sb, void *data, int silent)
sb->s_flags &= ~(MS_NOSEC | MS_I_VERSION);
- if (!parse_fuse_opt((char *) data, &d, is_bdev))
+ if (!parse_fuse_opt(data, &d, is_bdev))
goto err;
if (is_bdev) {
OpenPOWER on IntegriCloud