[patch 1/6] openmosix/openmosix-kcomd-fix-warnings.patch

Florian Delizy <[email protected]> Mon, 25 Sep 2006 20:45:50 +0200
Newsgroups gmane.linux.cluster.openmosix.devel
Message-ID <[email protected]>
This serie of 6 patches is only a 'fix warning', code that cause warning 
like 'defined but not used' is commented out for now ... We'll know soon 
what to do with it.

Florian Delizy

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

_______________________________________________
openMosix-devel mailing list
openMosix-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/openmosix-devel
openmosix-kcomd-fix-warnings.patch (text/x-patch, 632 B)
Index: linux/hpc/kcomd.c
===================================================================
--- linux.orig/hpc/kcomd.c	2006-09-25 20:33:59.000000000 +0200
+++ linux/hpc/kcomd.c	2006-09-25 20:35:38.000000000 +0200
@@ -461,7 +461,6 @@
 	int n = -1;
 	siginfo_t info; /* matt*/
 	int sig;
-	int outpkt_cnt, inpkt_cnt, tsk_cnt;
 	int err;
 	struct timeval start,stop;
 
@@ -588,7 +587,7 @@
 
 		/* for each nodes { test bit, in, out and do stuff } */
 		/* spin_lock(&kcom_nodes_lock);*/
-restart:
+/*restart:*/
 		list_for_each_entry_safe(node, node_next, &kcom_nodes, list) {
 			/*
 			if (test_bit(node->fd, sockets_fds.res_ex)) {