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:
88ff344
)
fs: befs: remove useless initialization to zero
author
Salah Triki
<salah.triki@gmail.com>
Sun, 31 Jul 2016 20:34:28 +0000
(21:34 +0100)
committer
Luis de Bethencourt
<luisbg@osg.samsung.com>
Sat, 8 Oct 2016 09:01:23 +0000
(10:01 +0100)
node_off is unconditionally set to bt_super.root_node_ptr, so no need to
init it to zero.
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 d5641852c5ff93c84a5cbc9c2253cdaac0254b74..3f1a39166d89fb6cc1d7d0205d58915e4960a4b2 100644
(file)
--- a/
fs/befs/btree.c
+++ b/
fs/befs/btree.c
@@
-420,7
+420,7
@@
befs_btree_read(struct super_block *sb, const befs_data_stream *ds,
{
struct befs_btree_node *this_node;
befs_btree_super bt_super;
- befs_off_t node_off
= 0
;
+ befs_off_t node_off;
int cur_key;
fs64 *valarray;
char *keystart;