diff options
author | Andi Drebes <lists-receive@programmierforen.de> | 2007-10-18 06:06:54 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-18 17:37:29 -0400 |
commit | 6bbfb0776615b3cb84ccfec8f5d6214938143b2a (patch) | |
tree | 00fc93a6097ddd49af32f054216c23d806282592 /fs/cramfs/inode.c | |
parent | b8dc93cbe91324b922395919cd5df4cca2fe55f6 (diff) |
fs/cramfs/inode.c: remove unused variable
Remove a variable that is never read.
Signed-off-by: Andi Drebes <lists-receive@programmierforen.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/cramfs/inode.c')
-rw-r--r-- | fs/cramfs/inode.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/cramfs/inode.c b/fs/cramfs/inode.c index 5c817bd08389..7f76abbe945f 100644 --- a/fs/cramfs/inode.c +++ b/fs/cramfs/inode.c | |||
@@ -148,7 +148,7 @@ static void *cramfs_read(struct super_block *sb, unsigned int offset, unsigned i | |||
148 | { | 148 | { |
149 | struct address_space *mapping = sb->s_bdev->bd_inode->i_mapping; | 149 | struct address_space *mapping = sb->s_bdev->bd_inode->i_mapping; |
150 | struct page *pages[BLKS_PER_BUF]; | 150 | struct page *pages[BLKS_PER_BUF]; |
151 | unsigned i, blocknr, buffer, unread; | 151 | unsigned i, blocknr, buffer; |
152 | unsigned long devsize; | 152 | unsigned long devsize; |
153 | char *data; | 153 | char *data; |
154 | 154 | ||
@@ -175,7 +175,6 @@ static void *cramfs_read(struct super_block *sb, unsigned int offset, unsigned i | |||
175 | devsize = mapping->host->i_size >> PAGE_CACHE_SHIFT; | 175 | devsize = mapping->host->i_size >> PAGE_CACHE_SHIFT; |
176 | 176 | ||
177 | /* Ok, read in BLKS_PER_BUF pages completely first. */ | 177 | /* Ok, read in BLKS_PER_BUF pages completely first. */ |
178 | unread = 0; | ||
179 | for (i = 0; i < BLKS_PER_BUF; i++) { | 178 | for (i = 0; i < BLKS_PER_BUF; i++) { |
180 | struct page *page = NULL; | 179 | struct page *page = NULL; |
181 | 180 | ||