提交 fae74696 编写于 作者: G Geyslan G. Bem 提交者: Eric Van Hensbergen

9p: remove useless assignment

There is no use of pointer 'fid' before the next assignment.
Signed-off-by: NGeyslan G. Bem <geyslan@gmail.com>
Signed-off-by: NEric Van Hensbergen <ericvh@gmail.com>
上级 08e15f2d
......@@ -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,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册