aboutsummaryrefslogtreecommitdiffstats
path: root/fs/befs/btree.c
diff options
context:
space:
mode:
authorLuis de Bethencourt <luisbg@osg.samsung.com>2016-07-11 19:02:49 -0400
committerLuis de Bethencourt <luisbg@osg.samsung.com>2016-10-08 05:01:17 -0400
commitcfe0cb20e6fa09becc5e6f7597c6e2d1ed9ab7dd (patch)
treea0a1ba70f6d1712c7d0b07116f4606df26392bfa /fs/befs/btree.c
parent4c3897cce0774b6196f59f98a44eed7e011db5aa (diff)
befs: in memory free_node_ptr and max_size never read
The only place the values of free_node_ptr and max_size are read is in befs_dump_index_entry(), which both times it is called, it is passed the on disk superblock. Removing assignment of unused values. Signed-off-by: Luis de Bethencourt <luisbg@osg.samsung.com>
Diffstat (limited to 'fs/befs/btree.c')
-rw-r--r--fs/befs/btree.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/befs/btree.c b/fs/befs/btree.c
index 679f69df3817..e8827af43dcd 100644
--- a/fs/befs/btree.c
+++ b/fs/befs/btree.c
@@ -156,8 +156,6 @@ befs_bt_read_super(struct super_block *sb, const befs_data_stream *ds,
156 sup->max_depth = fs32_to_cpu(sb, od_sup->max_depth); 156 sup->max_depth = fs32_to_cpu(sb, od_sup->max_depth);
157 sup->data_type = fs32_to_cpu(sb, od_sup->data_type); 157 sup->data_type = fs32_to_cpu(sb, od_sup->data_type);
158 sup->root_node_ptr = fs64_to_cpu(sb, od_sup->root_node_ptr); 158 sup->root_node_ptr = fs64_to_cpu(sb, od_sup->root_node_ptr);
159 sup->free_node_ptr = fs64_to_cpu(sb, od_sup->free_node_ptr);
160 sup->max_size = fs64_to_cpu(sb, od_sup->max_size);
161 159
162 brelse(bh); 160 brelse(bh);
163 if (sup->magic != BEFS_BTREE_MAGIC) { 161 if (sup->magic != BEFS_BTREE_MAGIC) {