Skip to contentSkip to conversation

fs/affs/amigaffs.c: remove unneeded initialization

PATCH New Fabian Frederick 1 participant 1 message Apr 25, 2015 Affs file system

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fs/affs/amigaffs.c: remove unneeded initialization

bh is initialized unconditionally in affs_remove_link()

---
 fs/affs/amigaffs.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
fs/affs/amigaffs.c +1 -1
index 1df7478..4ff6edb 100644
@@ -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;
 
Signature · 1 line
1.9.1