projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
08e15f2
)
9p: remove useless assignment
author
Geyslan G. Bem
<geyslan@gmail.com>
Sat, 28 Sep 2013 23:32:15 +0000
(20:32 -0300)
committer
Eric Van Hensbergen
<ericvh@gmail.com>
Sat, 23 Nov 2013 22:10:31 +0000
(16:10 -0600)
There is no use of pointer 'fid' before the next assignment.
Signed-off-by: Geyslan G. Bem <geyslan@gmail.com>
Signed-off-by: Eric Van Hensbergen <ericvh@gmail.com>
fs/9p/vfs_inode.c
patch
|
blob
|
history
diff --git
a/fs/9p/vfs_inode.c
b/fs/9p/vfs_inode.c
index 5bbb5a02116f94edd1d23635b284e7139c695ea4..af7d531bdecdedcc4e7cef7a99dc36347b1c1163 100644
(file)
--- a/
fs/9p/vfs_inode.c
+++ b/
fs/9p/vfs_inode.c
@@
-861,7
+861,7
@@
v9fs_vfs_atomic_open(struct inode *dir, struct dentry *dentry,
return finish_no_open(file, res);
err = 0;
- fid = NULL;
+
v9ses = v9fs_inode2v9ses(dir);
perm = unixmode2p9mode(v9ses, mode);
fid = v9fs_create(v9ses, dir, dentry, NULL, perm,