projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d96f184
)
fs/affs/inode.c: remove unneeded initialization
author
Fabian Frederick
<fabf@skynet.be>
Tue, 30 Jun 2015 21:57:55 +0000
(14:57 -0700)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Wed, 1 Jul 2015 02:44:57 +0000
(19:44 -0700)
bh is initialized unconditionally in affs_add_entry()
Signed-off-by: Fabian Frederick <fabf@skynet.be>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/affs/inode.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/affs/inode.c
b/fs/affs/inode.c
index a022f4accd76b801566564b7c6de2d38f2e1cdfb..17349500592d55b8b0a9a087809301c05995c696 100644
(file)
--- a/
fs/affs/inode.c
+++ b/
fs/affs/inode.c
@@
-346,7
+346,7
@@
affs_add_entry(struct inode *dir, struct inode *inode, struct dentry *dentry, s3
{
struct super_block *sb = dir->i_sb;
struct buffer_head *inode_bh = NULL;
- struct buffer_head *bh
= NULL
;
+ struct buffer_head *bh;
u32 block = 0;
int retval;