* [PATCH] Minix: Clean up left over label
@ 2010-06-04 12:51 Andrew Hendry
0 siblings, 0 replies; only message in thread
From: Andrew Hendry @ 2010-06-04 12:51 UTC (permalink / raw)
To: linux-kernel; +Cc: Al Viro
Remove a left over fail label.
Signed-off-by: Andrew Hendry <andrew.hendry@gmail.com>
diff --git a/fs/minix/dir.c b/fs/minix/dir.c
index 9196958..1dbf921 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)
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2010-06-04 12:51 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-06-04 12:51 [PATCH] Minix: Clean up left over label Andrew Hendry
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®