Minix: Clean up left over label
authorAndrew Hendry <andrew.hendry@gmail.com>
Fri, 4 Jun 2010 12:51:24 +0000 (22:51 +1000)
committerAl Viro <viro@zeniv.linux.org.uk>
Fri, 4 Jun 2010 21:16:30 +0000 (17:16 -0400)
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>
fs/minix/dir.c

index 91969589131c562d0dfaddc4d3f1905611262a23..1dbf921ca44b42de92c6dda06e014b395dfcdae9 100644 (file)
@@ -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)