summaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorDan Carpenter <error27@gmail.com>2010-05-07 12:26:23 +0400
committerEric Van Hensbergen <ericvh@gmail.com>2010-05-22 21:34:12 +0400
commitfe5bd0736bcdf35bd6cc300211a97c2fef8bd83e (patch)
tree2116a7989eeef6ff063565f8525f53b526d6c8e4 /fs
parent75cc5c9b82a31936d2a8cb75f34752000e244015 (diff)
downloadlinux-fe5bd0736bcdf35bd6cc300211a97c2fef8bd83e.tar.xz
9p: cleanup: remove unneeded assignment
We never use "v9ses" and so we can remove it. Signed-off-by: Dan Carpenter <error27@gmail.com> Signed-off-by: Eric Van Hensbergen <ericvh@gmail.com>
Diffstat (limited to 'fs')
-rw-r--r--fs/9p/vfs_inode.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/9p/vfs_inode.c b/fs/9p/vfs_inode.c
index 29367ee25cb8..aecfc0c17945 100644
--- a/fs/9p/vfs_inode.c
+++ b/fs/9p/vfs_inode.c
@@ -456,14 +456,12 @@ static int v9fs_remove(struct inode *dir, struct dentry *file, int rmdir)
{
int retval;
struct inode *file_inode;
- struct v9fs_session_info *v9ses;
struct p9_fid *v9fid;
P9_DPRINTK(P9_DEBUG_VFS, "inode: %p dentry: %p rmdir: %d\n", dir, file,
rmdir);
file_inode = file->d_inode;
- v9ses = v9fs_inode2v9ses(file_inode);
v9fid = v9fs_fid_clone(file);
if (IS_ERR(v9fid))
return PTR_ERR(v9fid);