diff options
| author | Andrew Morton <akpm@digeo.com> | 2003-04-29 17:32:48 -0700 |
|---|---|---|
| committer | Christoph Hellwig <hch@lst.de> | 2003-04-29 17:32:48 -0700 |
| commit | 6fc1e3092233485c08ffa19f0156bfb539cfc2a9 (patch) | |
| tree | c7a7129da602af2b9657a83b624577a0e992ff6f | |
| parent | 0948aa6d1967d2b3a6e07eb9176a579187bae1e2 (diff) | |
[PATCH] buffer.c unused vars
- Remove dead variable from block_read_full_page (Oleg Drokin)
| -rw-r--r-- | fs/buffer.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/buffer.c b/fs/buffer.c index f57274d6b9c9..5ed6a8e2918f 100644 --- a/fs/buffer.c +++ b/fs/buffer.c @@ -2019,7 +2019,7 @@ int block_read_full_page(struct page *page, get_block_t *get_block) struct inode *inode = page->mapping->host; sector_t iblock, lblock; struct buffer_head *bh, *head, *arr[MAX_BUF_PER_PAGE]; - unsigned int blocksize, blocks; + unsigned int blocksize; int nr, i; int fully_mapped = 1; @@ -2032,7 +2032,6 @@ int block_read_full_page(struct page *page, get_block_t *get_block) create_empty_buffers(page, blocksize, 0); head = page_buffers(page); - blocks = PAGE_CACHE_SIZE >> inode->i_blkbits; iblock = (sector_t)page->index << (PAGE_CACHE_SHIFT - inode->i_blkbits); lblock = (inode->i_size+blocksize-1) >> inode->i_blkbits; bh = head; |
