Messages in this thread Patch in this message | | | Date | Sun, 9 Jan 2000 18:27:34 +0000 (GMT) | From | Tim Waugh <> | Subject | [patch] 2.3.39pre2: iph5526 minor nit |
| |
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/
| |