Skip to content

Commit

Permalink
udf: Remove unused s_extLength from udf_bitmap
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jan Kara committed Feb 5, 2013
1 parent c60305b commit 288be96
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
4 changes: 0 additions & 4 deletions fs/udf/super.c
Original file line number Diff line number Diff line change
Expand Up @@ -1080,8 +1080,6 @@ static int udf_fill_partdesc_info(struct super_block *sb,
if (!bitmap)
return 1;
map->s_uspace.s_bitmap = bitmap;
bitmap->s_extLength = le32_to_cpu(
phd->unallocSpaceBitmap.extLength);
bitmap->s_extPosition = le32_to_cpu(
phd->unallocSpaceBitmap.extPosition);
map->s_partition_flags |= UDF_PART_FLAG_UNALLOC_BITMAP;
Expand Down Expand Up @@ -1116,8 +1114,6 @@ static int udf_fill_partdesc_info(struct super_block *sb,
if (!bitmap)
return 1;
map->s_fspace.s_bitmap = bitmap;
bitmap->s_extLength = le32_to_cpu(
phd->freedSpaceBitmap.extLength);
bitmap->s_extPosition = le32_to_cpu(
phd->freedSpaceBitmap.extPosition);
map->s_partition_flags |= UDF_PART_FLAG_FREED_BITMAP;
Expand Down
1 change: 0 additions & 1 deletion fs/udf/udf_sb.h
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@ struct udf_virtual_data {
};

struct udf_bitmap {
__u32 s_extLength;
__u32 s_extPosition;
int s_nr_groups;
struct buffer_head *s_block_bitmap[0];
Expand Down

0 comments on commit 288be96

Please sign in to comment.