1
0
Fork 0

[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>
hifive-unleashed-5.1
Adrian Bunk 2006-10-19 15:13:26 +02:00 committed by Steven Whitehouse
parent abbdbd2065
commit b0cb66955f
1 changed files with 0 additions and 3 deletions

View File

@ -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;
}