patch-2.2.0-pre9 linux/net/irda/irqueue.c

Next file: linux/net/irda/irsysctl.c
Previous file: linux/net/irda/irproc.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.2.0-pre8/linux/net/irda/irqueue.c linux/net/irda/irqueue.c
@@ -6,7 +6,7 @@
  * Status:        Experimental.
  * Author:        Dag Brattli <dagb@cs.uit.no>
  * Created at:    Tue Jun  9 13:29:31 1998
- * Modified at:   Mon Dec 14 20:11:07 1998
+ * Modified at:   Wed Jan 13 21:21:22 1999
  * Modified by:   Dag Brattli <dagb@cs.uit.no>
  * 
  *     Copyright (C) 1998, Aage Kvalnes <aage@cs.uit.no>
@@ -49,7 +49,7 @@
 {
 	hashbin_t* hashbin;
 	
-	DEBUG( 4, "hashbin_create()\n");
+	DEBUG( 4, __FUNCTION__ "()\n");
 	
 	/*
 	 * Allocate new hashbin
@@ -353,19 +353,19 @@
 }
 
 
-/*
- * Function hashbin_remove (hashbin, name)
+/* 
+ *  Function hashbin_remove (hashbin, hashv, name)
  *
  *    Remove entry with the given name
  *
  */
 void* hashbin_remove( hashbin_t* hashbin, __u32 hashv, char* name)
 {
-	int   bin, found = FALSE;
+	int bin, found = FALSE;
 	unsigned long flags = 0;
 	QUEUE* entry;
 
-	DEBUG( 4, "hashbin_remove()\n");
+	DEBUG( 4, __FUNCTION__ "()\n");
 
 	ASSERT( hashbin != NULL, return NULL;);
 	ASSERT( hashbin->magic == HB_MAGIC, return NULL;);

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov