diff options
author | Salah Triki <salah.triki@gmail.com> | 2016-07-31 21:34:27 +0100 |
---|---|---|
committer | Luis de Bethencourt <luisbg@osg.samsung.com> | 2016-10-08 10:01:22 +0100 |
commit | 88ff34446b33c15340c45888dbe325e2ef7ba8c8 (patch) | |
tree | 520bb78e0db47bc76714bee62a6da6f99d7e1eea | |
parent | a26bc1adc74063ec116159d45f305d2a1dd4a07b (diff) | |
download | linux-stable-88ff34446b33c15340c45888dbe325e2ef7ba8c8.tar.gz linux-stable-88ff34446b33c15340c45888dbe325e2ef7ba8c8.tar.bz2 linux-stable-88ff34446b33c15340c45888dbe325e2ef7ba8c8.zip |
fs: befs: remove in vain variable assignment
There is no need to set *value, it will be overwritten later.
Signed-off-by: Salah Triki <salah.triki@gmail.com>
Acked-by: Luis de Bethencourt <luisbg@osg.samsung.com>
-rw-r--r-- | fs/befs/btree.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/befs/btree.c b/fs/befs/btree.c index 85453e50bc6e..d5641852c5ff 100644 --- a/fs/befs/btree.c +++ b/fs/befs/btree.c @@ -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 */ |