summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-12-18 00:27:14 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2009-12-18 00:45:31 +0100
commit0f67b0b0392ccca98459bf40b36c0037793b5f71 (patch)
tree12d0c43bb7f4e3e8980aebfc10ce0afbde210457
parentlib/vsprintf.c: document more vsnprintf extensions (diff)
downloadlinux-0f67b0b0392ccca98459bf40b36c0037793b5f71.tar.xz
linux-0f67b0b0392ccca98459bf40b36c0037793b5f71.zip
nommu: ramfs: remove unused local var
Signed-off-by: Mike Frysinger <vapier@gentoo.org> Cc: David Howells <dhowells@redhat.com> Acked-by: Greg Ungerer <gerg@snapgear.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r--fs/ramfs/file-nommu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ramfs/file-nommu.c b/fs/ramfs/file-nommu.c
index 32fae4040ebf..2efc57173fd7 100644
--- a/fs/ramfs/file-nommu.c
+++ b/fs/ramfs/file-nommu.c
@@ -60,7 +60,7 @@ const struct inode_operations ramfs_file_inode_operations = {
*/
int ramfs_nommu_expand_for_mapping(struct inode *inode, size_t newsize)
{
- unsigned long npages, xpages, loop, limit;
+ unsigned long npages, xpages, loop;
struct page *pages;
unsigned order;
void *data;