btrfs: get rid of unnecessary _fs variable
authorH. Peter Anvin <hpa@zytor.com>
Wed, 3 Mar 2010 03:11:45 +0000 (19:11 -0800)
committerH. Peter Anvin <hpa@zytor.com>
Wed, 3 Mar 2010 03:11:45 +0000 (19:11 -0800)
Get rid of the unnecessary _fs variable in btrfs_fs_init().  The
compiler would have optimized it out anyway, but it's cleaner if it's
in the source.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
core/fs/btrfs/btrfs.c

index 04633f4..c4021ac 100644 (file)
@@ -625,12 +625,9 @@ static void btrfs_get_fs_tree(void)
 }
 
 /* init. the fs meta data, return the block size shift bits. */
-static int btrfs_fs_init(struct fs_info *_fs)
+static int btrfs_fs_init(struct fs_info *fs)
 {
-       struct disk *disk;
-
-       fs = _fs;
-       disk = fs->fs_dev->disk;
+       struct disk *disk = fs->fs_dev->disk;
     
        btrfs_init_crc32c();