From: Mike Frysinger Date: Thu, 17 Dec 2009 23:27:14 +0000 (-0800) Subject: nommu: ramfs: remove unused local var X-Git-Tag: Ubuntu-5.2.0-15.16~26657 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=0f67b0b0392ccca98459bf40b36c0037793b5f71;p=mirror_ubuntu-eoan-kernel.git nommu: ramfs: remove unused local var Signed-off-by: Mike Frysinger Cc: David Howells Acked-by: Greg Ungerer Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- 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;