diff options
author | Geyslan G. Bem <geyslan@gmail.com> | 2013-09-28 20:32:16 -0300 |
---|---|---|
committer | Eric Van Hensbergen <ericvh@gmail.com> | 2013-11-23 16:10:31 -0600 |
commit | 08e15f2df3496f8b2f83bc0a9c10dff89f044358 (patch) | |
tree | 883d91563a0e82b42803fafd99854045d1a205b0 /fs/9p/vfs_inode.c | |
parent | 5d62a378ffff85ac9e581c228a9b505fb486e697 (diff) | |
download | linux-08e15f2df3496f8b2f83bc0a9c10dff89f044358.tar.bz2 |
9p: remove unused 'super_block' struct pointer
Get rid of the useless '*sb' variable.
Signed-off-by: Geyslan G. Bem <geyslan@gmail.com>
Signed-off-by: Eric Van Hensbergen <ericvh@gmail.com>
Diffstat (limited to 'fs/9p/vfs_inode.c')
-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 4e65aa903345..5bbb5a02116f 100644 --- a/fs/9p/vfs_inode.c +++ b/fs/9p/vfs_inode.c @@ -779,7 +779,6 @@ struct dentry *v9fs_vfs_lookup(struct inode *dir, struct dentry *dentry, unsigned int flags) { struct dentry *res; - struct super_block *sb; struct v9fs_session_info *v9ses; struct p9_fid *dfid, *fid; struct inode *inode; @@ -791,7 +790,6 @@ struct dentry *v9fs_vfs_lookup(struct inode *dir, struct dentry *dentry, if (dentry->d_name.len > NAME_MAX) return ERR_PTR(-ENAMETOOLONG); - sb = dir->i_sb; v9ses = v9fs_inode2v9ses(dir); /* We can walk d_parent because we hold the dir->i_mutex */ dfid = v9fs_fid_lookup(dentry->d_parent); |