patch-2.4.7 linux/net/irda/irqueue.c

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

diff -u --recursive --new-file v2.4.6/linux/net/irda/irqueue.c linux/net/irda/irqueue.c
@@ -739,7 +739,7 @@
 		/*
 		 * Queue was empty.
 		 */
-	} if ( (*queue)->q_next == *queue ) {
+	} else if ( (*queue)->q_next == *queue ) {
 		/* 
 		 *  Queue only contained a single element. It will now be
 		 *  empty.  

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)