Messages in this thread Patch in this message | | | Subject | [PATCH] page_cache_readahead unused variable | From | Shane Shrybman <> | Date | Thu, 22 Jul 2004 23:22:59 -0400 |
| |
Minor cleanup. Removal of unused variable in mm/readahead.c.
Shane Binary files linux-2.6.7-mm7.orig/mm/.readahead.c.swp and linux-2.6.7-mm7/mm/.readahead.c.swp differ diff -urN linux-2.6.7-mm7.orig/mm/readahead.c linux-2.6.7-mm7/mm/readahead.c --- linux-2.6.7-mm7.orig/mm/readahead.c 2004-07-22 22:28:47.000000000 -0400 +++ linux-2.6.7-mm7/mm/readahead.c 2004-07-22 23:04:50.000000000 -0400 @@ -349,7 +349,6 @@ struct file *filp, unsigned long offset) { unsigned max; - unsigned min; unsigned orig_next_size; unsigned actual; int first_access=0; @@ -374,7 +373,6 @@ if (max == 0) goto out; /* No readahead */ - min = get_min_readahead(ra); orig_next_size = ra->next_size; if (ra->next_size == 0) { | |