Skip to content

Commit

Permalink
9p/vfs_super.c: Remove unused parameter data in v9fs_fill_super
Browse files Browse the repository at this point in the history
v9fs_fill_super has a param 'void *data' which is unused in the
function.

This patch removes the 'void *data' param in v9fs_fill_super and changes
the parameters in all function calls of v9fs_fill_super.

Link: http://lkml.kernel.org/r/20190523165619.GA4209@bharath12345-Inspiron-5559
Signed-off-by: Bharath Vedartham <[email protected]>
Signed-off-by: Dominique Martinet <[email protected]>
  • Loading branch information
Bharath Vedartham authored and Dominique Martinet committed Sep 3, 2019
1 parent 962a991 commit aafee43
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fs/9p/vfs_super.c
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ static int v9fs_set_super(struct super_block *s, void *data)

static int
v9fs_fill_super(struct super_block *sb, struct v9fs_session_info *v9ses,
int flags, void *data)
int flags)
{
int ret;

Expand Down Expand Up @@ -128,7 +128,7 @@ static struct dentry *v9fs_mount(struct file_system_type *fs_type, int flags,
retval = PTR_ERR(sb);
goto clunk_fid;
}
retval = v9fs_fill_super(sb, v9ses, flags, data);
retval = v9fs_fill_super(sb, v9ses, flags);
if (retval)
goto release_sb;

Expand Down

0 comments on commit aafee43

Please sign in to comment.