All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] page_cache_readahead unused variable
@ 2004-07-23  3:22 Shane Shrybman
  0 siblings, 0 replies; only message in thread
From: Shane Shrybman @ 2004-07-23  3:22 UTC (permalink / raw)
  To: linux-kernel

[-- Attachment #1: Type: text/plain, Size: 68 bytes --]

Minor cleanup. Removal of unused variable in mm/readahead.c.

Shane

[-- Attachment #2: page_cache_readahead_unused_var.diff --]
[-- Type: text/x-patch, Size: 658 bytes --]

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) {

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-07-23  3:21 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-07-23  3:22 [PATCH] page_cache_readahead unused variable Shane Shrybman

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.