diff options
Diffstat (limited to 'fs')
-rw-r--r-- | fs/9p/vfs_inode.c | 2 |
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) | |||
456 | { | 456 | { |
457 | int retval; | 457 | int retval; |
458 | struct inode *file_inode; | 458 | struct inode *file_inode; |
459 | struct v9fs_session_info *v9ses; | ||
460 | struct p9_fid *v9fid; | 459 | struct p9_fid *v9fid; |
461 | 460 | ||
462 | P9_DPRINTK(P9_DEBUG_VFS, "inode: %p dentry: %p rmdir: %d\n", dir, file, | 461 | P9_DPRINTK(P9_DEBUG_VFS, "inode: %p dentry: %p rmdir: %d\n", dir, file, |
463 | rmdir); | 462 | rmdir); |
464 | 463 | ||
465 | file_inode = file->d_inode; | 464 | file_inode = file->d_inode; |
466 | v9ses = v9fs_inode2v9ses(file_inode); | ||
467 | v9fid = v9fs_fid_clone(file); | 465 | v9fid = v9fs_fid_clone(file); |
468 | if (IS_ERR(v9fid)) | 466 | if (IS_ERR(v9fid)) |
469 | return PTR_ERR(v9fid); | 467 | return PTR_ERR(v9fid); |