patch-2.3.35 linux/net/irda/irqueue.c
Next file: linux/net/irda/irttp.c
Previous file: linux/net/irda/irmod.c
Back to the patch index
Back to the overall index
- Lines: 38
- Date:
Tue Dec 21 10:17:58 1999
- Orig file:
v2.3.34/linux/net/irda/irqueue.c
- Orig date:
Wed Oct 27 16:34:13 1999
diff -u --recursive --new-file v2.3.34/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: Tue Oct 5 09:02:15 1999
+ * Modified at: Sun Dec 12 13:48:22 1999
* Modified by: Dag Brattli <dagb@cs.uit.no>
*
* Copyright (C) 1998-1999, Aage Kvalnes <aage@cs.uit.no>
@@ -88,13 +88,13 @@
/*
* Free the entries in the hashbin
*/
- for ( i = 0; i < HASHBIN_SIZE; i ++ ) {
- queue = dequeue_first( (queue_t**) &hashbin->hb_queue[ i]);
- while( queue ) {
- if ( free_func)
- (*free_func)( queue );
+ for (i = 0; i < HASHBIN_SIZE; i ++ ) {
+ queue = dequeue_first( (queue_t**) &hashbin->hb_queue[i]);
+ while (queue) {
+ if (free_func)
+ (*free_func)(queue);
queue = dequeue_first(
- (queue_t**) &hashbin->hb_queue[ i]);
+ (queue_t**) &hashbin->hb_queue[i]);
}
}
hashbin->hb_size = 0;
@@ -210,7 +210,7 @@
* Insert an entry into the hashbin
*
*/
-void hashbin_insert( hashbin_t* hashbin, queue_t* entry, __u32 hashv, char* name)
+void hashbin_insert(hashbin_t* hashbin, queue_t* entry, __u32 hashv, char* name)
{
unsigned long flags = 0;
int bin;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)