projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a26bc1a
)
fs: befs: remove in vain variable assignment
author
Salah Triki
<salah.triki@gmail.com>
Sun, 31 Jul 2016 20:34:27 +0000
(21:34 +0100)
committer
Luis de Bethencourt
<luisbg@osg.samsung.com>
Sat, 8 Oct 2016 09:01:22 +0000
(10:01 +0100)
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>
fs/befs/btree.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/befs/btree.c
b/fs/befs/btree.c
index 85453e50bc6e4f03406f944a0d241030f2b33457..d5641852c5ff93c84a5cbc9c2253cdaac0254b74 100644
(file)
--- 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 */