nommu: ramfs: remove unused local var
authorMike Frysinger <[email protected]>
Thu, 17 Dec 2009 23:27:14 +0000 (15:27 -0800)
committerLinus Torvalds <[email protected]>
Thu, 17 Dec 2009 23:45:31 +0000 (15:45 -0800)
Signed-off-by: Mike Frysinger <[email protected]>
Cc: David Howells <[email protected]>
Acked-by: Greg Ungerer <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
fs/ramfs/file-nommu.c

index 32fae4040ebf46a94bc84cf1260c2edebce0c330..2efc57173fd703b74bfc1adaad5289df1ff1f179 100644 (file)
@@ -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;