aboutsummaryrefslogtreecommitdiffstats
path: root/mm
diff options
context:
space:
mode:
authorShane Shrybman <shrybman@aei.ca>2004-07-28 09:09:47 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2004-07-28 09:09:47 -0700
commitd1bbb3aa19ec5043679ef3fbe8d11044c66fbb0f (patch)
tree97f10c0d14a32fbf667ed53b4526f790205e4647 /mm
parentd190c5ba81a998317fef0c9643fe1f9a0016ca63 (diff)
downloadhistory-d1bbb3aa19ec5043679ef3fbe8d11044c66fbb0f.tar.gz
[PATCH] page_cache_readahead unused variable
Removal of unused variable in mm/readahead.c. Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'mm')
-rw-r--r--mm/readahead.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/mm/readahead.c b/mm/readahead.c
index b7f8cd8ea9ca58..7073392b335778 100644
--- a/mm/readahead.c
+++ b/mm/readahead.c
@@ -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) {