diff options
author | Geyslan G. Bem <geyslan@gmail.com> | 2013-09-28 19:32:15 -0400 |
---|---|---|
committer | Eric Van Hensbergen <ericvh@gmail.com> | 2013-11-23 17:10:31 -0500 |
commit | fae7469609aa4229aee20dd68453a0a6df5bd52e (patch) | |
tree | 7541f16bd90a9009c9881786e59543ef99f6b962 /fs/9p | |
parent | 08e15f2df3496f8b2f83bc0a9c10dff89f044358 (diff) |
9p: remove useless assignment
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>
Diffstat (limited to 'fs/9p')
-rw-r--r-- | fs/9p/vfs_inode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/9p/vfs_inode.c b/fs/9p/vfs_inode.c index 5bbb5a02116f..af7d531bdecd 100644 --- 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, | |||
861 | return finish_no_open(file, res); | 861 | return finish_no_open(file, res); |
862 | 862 | ||
863 | err = 0; | 863 | err = 0; |
864 | fid = NULL; | 864 | |
865 | v9ses = v9fs_inode2v9ses(dir); | 865 | v9ses = v9fs_inode2v9ses(dir); |
866 | perm = unixmode2p9mode(v9ses, mode); | 866 | perm = unixmode2p9mode(v9ses, mode); |
867 | fid = v9fs_create(v9ses, dir, dentry, NULL, perm, | 867 | fid = v9fs_create(v9ses, dir, dentry, NULL, perm, |