[PATCH] Remove warning in 2.6.0-test5/mm/memory.c

From: Bernd Petrovitsch
Date: Wed Sep 10 2003 - 07:43:33 EST


Hi all!

The attached patch removes a warning in 2.6.0-test5/mm/memory.c
if CONFIG_SWAP is disabled.

Bernd
--
Firmix Software GmbH http://www.firmix.at/
mobil: +43 664 4416156 fax: +43 1 7890849-55
Embedded Linux Development and Services
--- linux-2.6.0-test5/mm/memory.c 2003-09-10 14:28:21.000000000 +0200
+++ linux-2.6.0-test5-orig/mm/memory.c 2003-09-08 21:50:03.000000000 +0200
@@ -1273,7 +1273,7 @@

swap_free(entry);
if (vm_swap_full())
- (void)remove_exclusive_swap_page(page);
+ remove_exclusive_swap_page(page);

mm->rss++;
pte = mk_pte(page, vma->vm_page_prot);