diff options
author | Jan Kara <jack@suse.cz> | 2013-02-05 07:58:29 -0500 |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2013-02-05 11:29:53 -0500 |
commit | 288be96de66fa7c09f2cf00a7793db5b4bac4213 (patch) | |
tree | c24f8fdae9c32bb22a2741b85a532a0c95d6067c /fs/udf | |
parent | c60305b578674eefe333198c7476dba2178a9082 (diff) |
udf: Remove unused s_extLength from udf_bitmap
s_extLength was assigned to but the value was never really used. So
just remove the field.
Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'fs/udf')
-rw-r--r-- | fs/udf/super.c | 4 | ||||
-rw-r--r-- | fs/udf/udf_sb.h | 1 |
2 files changed, 0 insertions, 5 deletions
diff --git a/fs/udf/super.c b/fs/udf/super.c index f8830803d389..bc5b30a819e8 100644 --- a/fs/udf/super.c +++ b/fs/udf/super.c | |||
@@ -1080,8 +1080,6 @@ static int udf_fill_partdesc_info(struct super_block *sb, | |||
1080 | if (!bitmap) | 1080 | if (!bitmap) |
1081 | return 1; | 1081 | return 1; |
1082 | map->s_uspace.s_bitmap = bitmap; | 1082 | map->s_uspace.s_bitmap = bitmap; |
1083 | bitmap->s_extLength = le32_to_cpu( | ||
1084 | phd->unallocSpaceBitmap.extLength); | ||
1085 | bitmap->s_extPosition = le32_to_cpu( | 1083 | bitmap->s_extPosition = le32_to_cpu( |
1086 | phd->unallocSpaceBitmap.extPosition); | 1084 | phd->unallocSpaceBitmap.extPosition); |
1087 | map->s_partition_flags |= UDF_PART_FLAG_UNALLOC_BITMAP; | 1085 | map->s_partition_flags |= UDF_PART_FLAG_UNALLOC_BITMAP; |
@@ -1116,8 +1114,6 @@ static int udf_fill_partdesc_info(struct super_block *sb, | |||
1116 | if (!bitmap) | 1114 | if (!bitmap) |
1117 | return 1; | 1115 | return 1; |
1118 | map->s_fspace.s_bitmap = bitmap; | 1116 | map->s_fspace.s_bitmap = bitmap; |
1119 | bitmap->s_extLength = le32_to_cpu( | ||
1120 | phd->freedSpaceBitmap.extLength); | ||
1121 | bitmap->s_extPosition = le32_to_cpu( | 1117 | bitmap->s_extPosition = le32_to_cpu( |
1122 | phd->freedSpaceBitmap.extPosition); | 1118 | phd->freedSpaceBitmap.extPosition); |
1123 | map->s_partition_flags |= UDF_PART_FLAG_FREED_BITMAP; | 1119 | map->s_partition_flags |= UDF_PART_FLAG_FREED_BITMAP; |
diff --git a/fs/udf/udf_sb.h b/fs/udf/udf_sb.h index 4f7ddb796991..ed401e94aa8c 100644 --- a/fs/udf/udf_sb.h +++ b/fs/udf/udf_sb.h | |||
@@ -80,7 +80,6 @@ struct udf_virtual_data { | |||
80 | }; | 80 | }; |
81 | 81 | ||
82 | struct udf_bitmap { | 82 | struct udf_bitmap { |
83 | __u32 s_extLength; | ||
84 | __u32 s_extPosition; | 83 | __u32 s_extPosition; |
85 | int s_nr_groups; | 84 | int s_nr_groups; |
86 | struct buffer_head *s_block_bitmap[0]; | 85 | struct buffer_head *s_block_bitmap[0]; |