projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
78f444f
)
fs/affs/amigaffs.c: remove unneeded initialization
author
Fabian Frederick
<fabf@skynet.be>
Tue, 30 Jun 2015 21:57:58 +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_remove_link()
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/amigaffs.c
patch
|
blob
|
history
diff --git
a/fs/affs/amigaffs.c
b/fs/affs/amigaffs.c
index a8f463c028ce9e9c52862e01a21de82a5b7e2f09..5fa92bc790ef7e960b5f3b1fc1501eb1842e5b5e 100644
(file)
--- a/
fs/affs/amigaffs.c
+++ b/
fs/affs/amigaffs.c
@@
-140,7
+140,7
@@
affs_remove_link(struct dentry *dentry)
{
struct inode *dir, *inode = d_inode(dentry);
struct super_block *sb = inode->i_sb;
- struct buffer_head *bh
= NULL
, *link_bh = NULL;
+ struct buffer_head *bh, *link_bh = NULL;
u32 link_ino, ino;
int retval;