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:
2ac636b
)
befs: remove unnecessary initialization
author
Salah Triki
<salah.triki@gmail.com>
Thu, 11 Aug 2016 11:04:52 +0000
(12:04 +0100)
committer
Luis de Bethencourt
<luisbg@osg.samsung.com>
Sat, 8 Oct 2016 09:01:28 +0000
(10:01 +0100)
There is no need to init block, since it will be overwitten later by
iaddr2blockno().
Signed-off-by: Salah Triki <salah.triki@gmail.com>
Signed-off-by: Luis de Bethencourt <luisbg@osg.samsung.com>
fs/befs/io.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/befs/io.c
b/fs/befs/io.c
index 4223b779fcc43afe40fc011b373e2b69a7bc7d83..b4a558126ee1724b0d3bd833f68a1c201833af33 100644
(file)
--- a/
fs/befs/io.c
+++ b/
fs/befs/io.c
@@
-27,7
+27,7
@@
struct buffer_head *
befs_bread_iaddr(struct super_block *sb, befs_inode_addr iaddr)
{
struct buffer_head *bh;
- befs_blocknr_t block
= 0
;
+ befs_blocknr_t block;
struct befs_sb_info *befs_sb = BEFS_SB(sb);
befs_debug(sb, "---> Enter %s "