aboutsummaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorAndrew Hendry <andrew.hendry@gmail.com>2010-06-04 22:51:24 +1000
committerAl Viro <viro@zeniv.linux.org.uk>2010-06-04 17:16:30 -0400
commit01afaf61983d08ed1c9e5e8f2fcf4f40e9008033 (patch)
treee10da88ffa1633d521e1f2fcca905c1080f1718e /fs
parentaf5a30d8cfcfc561336f982b06345d6b815e0bb3 (diff)
Minix: Clean up left over label
Remove a left over fail label. Signed-off-by: Andrew Hendry <andrew.hendry@gmail.com> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs')
-rw-r--r--fs/minix/dir.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/fs/minix/dir.c b/fs/minix/dir.c
index 91969589131..1dbf921ca44 100644
--- a/fs/minix/dir.c
+++ b/fs/minix/dir.c
@@ -75,10 +75,6 @@ static struct page * dir_get_page(struct inode *dir, unsigned long n)
if (!IS_ERR(page))
kmap(page);
return page;
-
-fail:
- dir_put_page(page);
- return ERR_PTR(-EIO);
}
static inline void *minix_next_entry(void *de, struct minix_sb_info *sbi)