Skip to content

Commit aafee43

Browse files
Bharath VedarthamDominique Martinet
authored andcommitted
9p/vfs_super.c: Remove unused parameter data in v9fs_fill_super
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]>
1 parent 962a991 commit aafee43

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

fs/9p/vfs_super.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ static int v9fs_set_super(struct super_block *s, void *data)
5858

5959
static int
6060
v9fs_fill_super(struct super_block *sb, struct v9fs_session_info *v9ses,
61-
int flags, void *data)
61+
int flags)
6262
{
6363
int ret;
6464

@@ -128,7 +128,7 @@ static struct dentry *v9fs_mount(struct file_system_type *fs_type, int flags,
128128
retval = PTR_ERR(sb);
129129
goto clunk_fid;
130130
}
131-
retval = v9fs_fill_super(sb, v9ses, flags, data);
131+
retval = v9fs_fill_super(sb, v9ses, flags);
132132
if (retval)
133133
goto release_sb;
134134

0 commit comments

Comments
 (0)