Skip to content

Commit 288be96

Browse files
committed
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 <[email protected]>
1 parent c60305b commit 288be96

File tree

2 files changed

+0
-5
lines changed

2 files changed

+0
-5
lines changed

fs/udf/super.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1080,8 +1080,6 @@ static int udf_fill_partdesc_info(struct super_block *sb,
10801080
if (!bitmap)
10811081
return 1;
10821082
map->s_uspace.s_bitmap = bitmap;
1083-
bitmap->s_extLength = le32_to_cpu(
1084-
phd->unallocSpaceBitmap.extLength);
10851083
bitmap->s_extPosition = le32_to_cpu(
10861084
phd->unallocSpaceBitmap.extPosition);
10871085
map->s_partition_flags |= UDF_PART_FLAG_UNALLOC_BITMAP;
@@ -1116,8 +1114,6 @@ static int udf_fill_partdesc_info(struct super_block *sb,
11161114
if (!bitmap)
11171115
return 1;
11181116
map->s_fspace.s_bitmap = bitmap;
1119-
bitmap->s_extLength = le32_to_cpu(
1120-
phd->freedSpaceBitmap.extLength);
11211117
bitmap->s_extPosition = le32_to_cpu(
11221118
phd->freedSpaceBitmap.extPosition);
11231119
map->s_partition_flags |= UDF_PART_FLAG_FREED_BITMAP;

fs/udf/udf_sb.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,6 @@ struct udf_virtual_data {
8080
};
8181

8282
struct udf_bitmap {
83-
__u32 s_extLength;
8483
__u32 s_extPosition;
8584
int s_nr_groups;
8685
struct buffer_head *s_block_bitmap[0];

0 commit comments

Comments
 (0)