summaryrefslogtreecommitdiffstats
path: root/fs/befs
diff options
context:
space:
mode:
authorSalah Triki <salah.triki@gmail.com>2016-07-31 21:34:27 +0100
committerLuis de Bethencourt <luisbg@osg.samsung.com>2016-10-08 10:01:22 +0100
commit88ff34446b33c15340c45888dbe325e2ef7ba8c8 (patch)
tree520bb78e0db47bc76714bee62a6da6f99d7e1eea /fs/befs
parenta26bc1adc74063ec116159d45f305d2a1dd4a07b (diff)
downloadop-kernel-dev-88ff34446b33c15340c45888dbe325e2ef7ba8c8.zip
op-kernel-dev-88ff34446b33c15340c45888dbe325e2ef7ba8c8.tar.gz
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>
Diffstat (limited to 'fs/befs')
-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 85453e5..d564185 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 */
OpenPOWER on IntegriCloud