Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 112237
b: refs/heads/master
c: df58ef5
h: refs/heads/master
i:
  112235: 4cef665
v: v3
  • Loading branch information
Francois Romieu authored and David S. Miller committed Oct 9, 2008
1 parent 6fe3740 commit 1f0b2c9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 1d74a6bddf647285e7aa4e9ca4ec16eb071dfd95
refs/heads/master: df58ef51caea073f4b45857c51f445f65267dac7
5 changes: 2 additions & 3 deletions trunk/drivers/net/r8169.c
Original file line number Diff line number Diff line change
Expand Up @@ -1952,7 +1952,8 @@ rtl8169_init_one(struct pci_dev *pdev, const struct pci_device_id *ent)
dev->do_ioctl = rtl8169_ioctl;
}

/* Read MAC address from EEPROM */
spin_lock_init(&tp->lock);

rtl_init_mac_address(tp, ioaddr);

/* Get MAC address */
Expand Down Expand Up @@ -1995,8 +1996,6 @@ rtl8169_init_one(struct pci_dev *pdev, const struct pci_device_id *ent)
tp->timer.data = (unsigned long) dev;
tp->timer.function = rtl8169_phy_timer;

spin_lock_init(&tp->lock);

rc = register_netdev(dev);
if (rc < 0)
goto err_out_msi_5;
Expand Down

0 comments on commit 1f0b2c9

Please sign in to comment.