From f8bbbe656f15c54f4b3560bb921f326938c3daf7 Mon Sep 17 00:00:00 2001 From: wookey Date: Mon, 9 Mar 2009 13:08:09 +0000 Subject: [PATCH] One whitespace fix remove one line of unused code --- yaffs_fs.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/yaffs_fs.c b/yaffs_fs.c index f2f709b..5c36808 100644 --- a/yaffs_fs.c +++ b/yaffs_fs.c @@ -32,7 +32,7 @@ */ const char *yaffs_fs_c_version = - "$Id: yaffs_fs.c,v 1.77 2009-03-09 07:25:09 charles Exp $"; + "$Id: yaffs_fs.c,v 1.78 2009-03-09 13:08:09 wookey Exp $"; extern const char *yaffs_guts_c_version; #include @@ -489,8 +489,6 @@ static struct dentry *yaffs_lookup(struct inode *dir, struct dentry *dentry) d_add(dentry, inode); return NULL; - /* return (ERR_PTR(-EIO)); */ - } @@ -623,8 +621,7 @@ static int yaffs_readpage_nolock(struct file *f, struct page *pg) yaffs_GrossLock(dev); - ret = - yaffs_ReadDataFromFile(obj, pg_buf, + ret = yaffs_ReadDataFromFile(obj, pg_buf, pg->index << PAGE_CACHE_SHIFT, PAGE_CACHE_SIZE); -- 2.30.2