On Tue, 31 Jul 2007 17:00:04 -0500, <[EMAIL PROTECTED]> wrote: > + list_for_each_safe (entry, tmp, &qh->qtd_list) { > + qtd = list_entry (entry, struct ehci_qtd, qtd_list); > + if (cpu_to_le32 (qtd->qtd_dma) == qh->hw_current) > + return qtd; > + }
Why use list_for_each_safe when mere list_for_each would do? In fact, some might ask for list_for_each_entry. -- Pete ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ linux-usb-devel@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel