[GFS2] fs/gfs2/ops_fstype.c:gfs2_get_sb_meta(): remove unused variable
The Coverity checker spotted this unused variable. Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
This commit is contained in:
parent
abbdbd2065
commit
b0cb66955f
1 changed files with 0 additions and 3 deletions
|
@ -854,7 +854,6 @@ static int gfs2_get_sb_meta(struct file_system_type *fs_type, int flags,
|
|||
int error = 0;
|
||||
struct super_block *sb = NULL, *new;
|
||||
struct gfs2_sbd *sdp;
|
||||
char *gfs2mnt = NULL;
|
||||
|
||||
sb = get_gfs2_sb(dev_name);
|
||||
if (!sb) {
|
||||
|
@ -892,8 +891,6 @@ static int gfs2_get_sb_meta(struct file_system_type *fs_type, int flags,
|
|||
atomic_inc(&sdp->sd_gfs2mnt->mnt_count);
|
||||
return simple_set_mnt(mnt, new);
|
||||
error:
|
||||
if (gfs2mnt)
|
||||
kfree(gfs2mnt);
|
||||
return error;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue