s2io: add missing block braces to multistatement if statement
authorIlpo Järvinen <ilpo.jarvinen@helsinki.fi>
Tue, 13 May 2008 11:16:54 +0000 (14:16 +0300)
committerJeff Garzik <jgarzik@redhat.com>
Thu, 22 May 2008 10:03:32 +0000 (06:03 -0400)
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@helsinki.fi>
Cc: Ramkrishna Vepa <ram.vepa@neterion.com>
Cc: Rastapur Santosh <santosh.rastapur@neterion.com>
Cc: Sivakumar Subramani <sivakumar.subramani@neterion.com>
Cc: Sreenivasa Honnur <sreenivasa.honnur@neterion.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/net/s2io.c

index 523478ebfd6922096cd8d9de828a9e8dd6903f9b..0f3d230a320db8f1a037288dc4dfd93f1a019211 100644 (file)
@@ -1113,9 +1113,10 @@ static int s2io_on_nec_bridge(struct pci_dev *s2io_pdev)
        struct pci_dev *tdev = NULL;
        while ((tdev = pci_get_device(PCI_ANY_ID, PCI_ANY_ID, tdev)) != NULL) {
                if (tdev->vendor == NEC_VENID && tdev->device == NEC_DEVID) {
-                       if (tdev->bus == s2io_pdev->bus->parent)
+                       if (tdev->bus == s2io_pdev->bus->parent) {
                                pci_dev_put(tdev);
                                return 1;
+                       }
                }
        }
        return 0;