Skip to contentSkip to conversation

block_write_begin(): remove useless goto

PATCH New Franck Bui-Huu 1 participant 1 message Dec 3, 2008 VFS

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 block_write_begin(): remove useless goto

From: Franck Bui-Huu <[email protected]>

---
 fs/buffer.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
fs/buffer.c +0 -1
index 6569fda..a3e2bc8 100644
@@ -2013,7 +2013,6 @@ int block_write_begin(struct file *file, struct address_space *mapping,
 			if (pos + len > inode->i_size)
 				vmtruncate(inode, inode->i_size);
 		}
-		goto out;
 	}
 
 out:
Signature · 1 line
1.6.0.2.GIT