From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jan Kara Subject: [PATCH 3/3] udf: Remove unused s_extLength from udf_bitmap Date: Tue, 5 Feb 2013 15:40:23 +0100 Message-ID: <1360075223-9972-4-git-send-email-jack@suse.cz> References: <1360075223-9972-1-git-send-email-jack@suse.cz> Cc: Jan Kara To: linux-fsdevel@vger.kernel.org Return-path: Received: from cantor2.suse.de ([195.135.220.15]:53201 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755555Ab3BEOkh (ORCPT ); Tue, 5 Feb 2013 09:40:37 -0500 Received: from relay2.suse.de (unknown [195.135.220.254]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx2.suse.de (Postfix) with ESMTP id 371FEA3B99 for ; Tue, 5 Feb 2013 15:40:36 +0100 (CET) In-Reply-To: <1360075223-9972-1-git-send-email-jack@suse.cz> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: s_extLength was assigned to but the value was never really used. So just remove the field. Signed-off-by: Jan Kara --- fs/udf/super.c | 4 ---- 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 f883080..bc5b30a 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, 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; @@ -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; diff --git a/fs/udf/udf_sb.h b/fs/udf/udf_sb.h index 4f7ddb7..ed401e9 100644 --- a/fs/udf/udf_sb.h +++ b/fs/udf/udf_sb.h @@ -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]; -- 1.7.1