From: Andi Drebes Date: Thu, 18 Oct 2007 10:06:54 +0000 (-0700) Subject: fs/cramfs/inode.c: remove unused variable X-Git-Tag: v2.6.24-rc1~325 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=6bbfb0776615b3cb84ccfec8f5d6214938143b2a;p=linux-2.6-omap-h63xx.git fs/cramfs/inode.c: remove unused variable Remove a variable that is never read. Signed-off-by: Andi Drebes Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/fs/cramfs/inode.c b/fs/cramfs/inode.c index 5c817bd0838..7f76abbe945 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 { struct address_space *mapping = sb->s_bdev->bd_inode->i_mapping; struct page *pages[BLKS_PER_BUF]; - unsigned i, blocknr, buffer, unread; + unsigned i, blocknr, buffer; unsigned long devsize; char *data; @@ -175,7 +175,6 @@ static void *cramfs_read(struct super_block *sb, unsigned int offset, unsigned i devsize = mapping->host->i_size >> PAGE_CACHE_SHIFT; /* Ok, read in BLKS_PER_BUF pages completely first. */ - unread = 0; for (i = 0; i < BLKS_PER_BUF; i++) { struct page *page = NULL;