Commit d1bbb3aa authored by Shane Shrybman's avatar Shane Shrybman Committed by Linus Torvalds

[PATCH] page_cache_readahead unused variable

Removal of unused variable in mm/readahead.c.
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent d190c5ba
......@@ -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) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment