diff options
author | Salah Triki <salah.triki@gmail.com> | 2016-07-31 22:34:27 +0200 |
---|---|---|
committer | Luis de Bethencourt <luisbg@osg.samsung.com> | 2016-10-08 11:01:22 +0200 |
commit | 88ff34446b33c15340c45888dbe325e2ef7ba8c8 (patch) | |
tree | 520bb78e0db47bc76714bee62a6da6f99d7e1eea | |
parent | fs: befs: Insert NULL inode to dentry (diff) | |
download | linux-88ff34446b33c15340c45888dbe325e2ef7ba8c8.tar.xz linux-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 */ |