[patch] 2.3.39pre2: iph5526 minor nit

From: Tim Waugh (tim@cyberelk.demon.co.uk)
Date: Sun Jan 09 2000 - 13:27:34 EST


I've seen things like 'x < y > z' and 'x > y != 0' in various places in
the kernel. Here's a patch to get rid of one of them.

Tim.
*/

--- linux-2.3.39pre2/drivers/net/fc/iph5526.c~ Sun Jan 9 17:48:02 2000
+++ linux-2.3.39pre2/drivers/net/fc/iph5526.c Sun Jan 9 17:48:15 2000
@@ -3770,7 +3770,7 @@
         for (i = 0; i <= MAX_FC_CARDS; i++)
                 fc[i] = NULL;
 
- for (i = 0; i < clone_list[i].vendor_id != 0; i++)
+ for (i = 0; i < clone_list[i].vendor_id; i++)
         while ((pdev = pci_find_device(clone_list[i].vendor_id, clone_list[i].device_id, pdev))) {
         unsigned short pci_command;
                 if (count < MAX_FC_CARDS) {

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Jan 15 2000 - 21:00:14 EST