diff options
author | Anand Jain <Anand.Jain@oracle.com> | 2015-01-12 19:55:10 +0300 |
---|---|---|
committer | Chris Mason <clm@fb.com> | 2015-01-22 05:22:37 +0300 |
commit | 78f55e5e1fa9f684705325667d455a957f43ad66 (patch) | |
tree | f7336b54d9ec44ef71a776e86078d0c884e0c2d9 /fs/btrfs/disk-io.c | |
parent | 0ee13fe28ce387864c0d2b1e8c52b64abe2fcd02 (diff) | |
download | linux-78f55e5e1fa9f684705325667d455a957f43ad66.tar.xz |
Btrfs: fix unused members in struct btrfs_root
There isn't any real use of following members of struct btrfs_root
so delete them.
struct kobject root_kobj;
struct completion kobj_unregister;
Signed-off-by: Anand Jain <anand.jain@oracle.com>
Reviewed-by: David Sterba <dsterba@suse.cz>
Signed-off-by: Chris Mason <clm@fb.com>
Diffstat (limited to 'fs/btrfs/disk-io.c')
-rw-r--r-- | fs/btrfs/disk-io.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/btrfs/disk-io.c b/fs/btrfs/disk-io.c index 0696a103751e..612d46eece62 100644 --- a/fs/btrfs/disk-io.c +++ b/fs/btrfs/disk-io.c @@ -1275,12 +1275,10 @@ static void __setup_root(u32 nodesize, u32 sectorsize, u32 stripesize, memset(&root->root_key, 0, sizeof(root->root_key)); memset(&root->root_item, 0, sizeof(root->root_item)); memset(&root->defrag_progress, 0, sizeof(root->defrag_progress)); - memset(&root->root_kobj, 0, sizeof(root->root_kobj)); if (fs_info) root->defrag_trans_start = fs_info->generation; else root->defrag_trans_start = 0; - init_completion(&root->kobj_unregister); root->root_key.objectid = objectid; root->anon_dev = 0; |