]> git.hungrycats.org Git - linux/commitdiff
[PATCH] page_cache_readahead unused variable
authorShane Shrybman <shrybman@aei.ca>
Wed, 28 Jul 2004 16:09:47 +0000 (09:09 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Wed, 28 Jul 2004 16:09:47 +0000 (09:09 -0700)
Removal of unused variable in mm/readahead.c.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
mm/readahead.c

index b7f8cd8ea9ca586b4e9f82b07e4806dbeba41230..7073392b3357784a514fe972a20e170ed85ee954 100644 (file)
@@ -349,7 +349,6 @@ page_cache_readahead(struct address_space *mapping, struct file_ra_state *ra,
                        struct file *filp, unsigned long offset)
 {
        unsigned max;
-       unsigned min;
        unsigned orig_next_size;
        unsigned actual;
        int first_access=0;
@@ -374,7 +373,6 @@ page_cache_readahead(struct address_space *mapping, struct file_ra_state *ra,
        if (max == 0)
                goto out;       /* No readahead */
 
-       min = get_min_readahead(ra);
        orig_next_size = ra->next_size;
 
        if (ra->next_size == 0) {