aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband
diff options
context:
space:
mode:
authorRoland Dreier <rolandd@cisco.com>2010-08-04 17:29:31 -0400
committerRoland Dreier <rolandd@cisco.com>2010-08-04 17:29:31 -0400
commitb2a899eaf3ab78cab380ef7e331c549d771cc2ca (patch)
tree9fe1c6f9eb09f2c20f72bdeed558a7b09fba89b3 /drivers/infiniband
parentdf924f833c0389c9f5206b073e87e9f5f3e857d3 (diff)
RDMA/nes: Fix misindented code
In nes_probe(), a bit of code is indented one tab stop too far. Fix this. Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/infiniband')
-rw-r--r--drivers/infiniband/hw/nes/nes.c26
1 files changed, 12 insertions, 14 deletions
diff --git a/drivers/infiniband/hw/nes/nes.c b/drivers/infiniband/hw/nes/nes.c
index d53480e6f03f..0c9f0aa5d4ea 100644
--- a/drivers/infiniband/hw/nes/nes.c
+++ b/drivers/infiniband/hw/nes/nes.c
@@ -661,23 +661,21 @@ static int __devinit nes_probe(struct pci_dev *pcidev, const struct pci_device_i
661 nes_notifiers_registered++; 661 nes_notifiers_registered++;
662 662
663 /* Initialize network devices */ 663 /* Initialize network devices */
664 if ((netdev = nes_netdev_init(nesdev, mmio_regs)) == NULL) { 664 if ((netdev = nes_netdev_init(nesdev, mmio_regs)) == NULL)
665 goto bail7; 665 goto bail7;
666 }
667
668 /* Register network device */
669 ret = register_netdev(netdev);
670 if (ret) {
671 printk(KERN_ERR PFX "Unable to register netdev, ret = %d\n", ret);
672 nes_netdev_destroy(netdev);
673 goto bail7;
674 }
675 666
676 nes_print_macaddr(netdev); 667 /* Register network device */
668 ret = register_netdev(netdev);
669 if (ret) {
670 printk(KERN_ERR PFX "Unable to register netdev, ret = %d\n", ret);
671 nes_netdev_destroy(netdev);
672 goto bail7;
673 }
677 674
678 nesdev->netdev_count++; 675 nes_print_macaddr(netdev);
679 nesdev->nesadapter->netdev_count++;
680 676
677 nesdev->netdev_count++;
678 nesdev->nesadapter->netdev_count++;
681 679
682 printk(KERN_ERR PFX "%s: NetEffect RNIC driver successfully loaded.\n", 680 printk(KERN_ERR PFX "%s: NetEffect RNIC driver successfully loaded.\n",
683 pci_name(pcidev)); 681 pci_name(pcidev));