Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 78955
b: refs/heads/master
c: 67d92ab
h: refs/heads/master
i:
  78953: a1cd6fd
  78951: 8712f6c
v: v3
  • Loading branch information
Divy Le Ray authored and David S. Miller committed Jan 28, 2008
1 parent f32aae3 commit cd296d8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 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: 678771d6f5242573fe4eb9fc14f7479646d52cf6
refs/heads/master: 67d92ab765a29cd18674b2b87e9f931782a245e3
8 changes: 4 additions & 4 deletions trunk/drivers/net/cxgb3/cxgb3_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -2585,17 +2585,17 @@ static void __devexit remove_one(struct pci_dev *pdev)
sysfs_remove_group(&adapter->port[0]->dev.kobj,
&cxgb3_attr_group);

for_each_port(adapter, i)
if (test_bit(i, &adapter->registered_device_map))
unregister_netdev(adapter->port[i]);

if (is_offload(adapter)) {
cxgb3_adapter_unofld(adapter);
if (test_bit(OFFLOAD_DEVMAP_BIT,
&adapter->open_device_map))
offload_close(&adapter->tdev);
}

for_each_port(adapter, i)
if (test_bit(i, &adapter->registered_device_map))
unregister_netdev(adapter->port[i]);

t3_free_sge_resources(adapter);
cxgb_disable_msi(adapter);

Expand Down

0 comments on commit cd296d8

Please sign in to comment.