Skip to content

Commit

Permalink
fs: befs: remove in vain variable assignment
Browse files Browse the repository at this point in the history
There is no need to set *value, it will be overwritten later.

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 a26bc1a commit 88ff344
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions fs/befs/btree.c
Original file line number Diff line number Diff line change
Expand Up @@ -347,8 +347,6 @@ befs_find_key(struct super_block *sb, struct befs_btree_node *node,

befs_debug(sb, "---> %s %s", __func__, findkey);

*value = 0;

findkey_len = strlen(findkey);

/* if node can not contain key, just skeep this node */
Expand Down

0 comments on commit 88ff344

Please sign in to comment.