Skip to contentSkip to conversation

Remove warning in 2.6.0-test5/mm/memory.c

PATCH New Bernd Petrovitsch 1 participant 1 message Sep 10, 2003

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

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

Hi all!

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

Bernd

Signature · 3 lines
Firmix Software GmbH                   http://www.firmix.at/
mobil: +43 664 4416156                 fax: +43 1 7890849-55
          Embedded Linux Development and Services
mm/memory.c +1 -1
@@ -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);