Skip to content

Commit

Permalink
fs: befs: remove useless initialization to zero
Browse files Browse the repository at this point in the history
node_off is unconditionally set to bt_super.root_node_ptr, so no need to
init it to zero.

Signed-off-by: Salah Triki <[email protected]>
Acked-by: Luis de Bethencourt <[email protected]>
  • Loading branch information
salah-triki authored and luisbg committed Oct 8, 2016
1 parent 88ff344 commit 143d2a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fs/befs/btree.c
Original file line number Diff line number Diff line change
Expand Up @@ -420,7 +420,7 @@ befs_btree_read(struct super_block *sb, const befs_data_stream *ds,
{
struct befs_btree_node *this_node;
befs_btree_super bt_super;
befs_off_t node_off = 0;
befs_off_t node_off;
int cur_key;
fs64 *valarray;
char *keystart;
Expand Down

0 comments on commit 143d2a6

Please sign in to comment.