summaryrefslogtreecommitdiffstats
path: root/kernel/fs/minix/dir.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/fs/minix/dir.c')
-rw-r--r--kernel/fs/minix/dir.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/kernel/fs/minix/dir.c b/kernel/fs/minix/dir.c
index 118e4e7bc..d19ac2581 100644
--- a/kernel/fs/minix/dir.c
+++ b/kernel/fs/minix/dir.c
@@ -45,11 +45,6 @@ minix_last_byte(struct inode *inode, unsigned long page_nr)
return last_byte;
}
-static inline unsigned long dir_pages(struct inode *inode)
-{
- return (inode->i_size+PAGE_CACHE_SIZE-1)>>PAGE_CACHE_SHIFT;
-}
-
static int dir_commit_chunk(struct page *page, loff_t pos, unsigned len)
{
struct address_space *mapping = page->mapping;