Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 41539
b: refs/heads/master
c: bac7e87
h: refs/heads/master
i:
  41537: 20c811f
  41535: 064d851
v: v3
  • Loading branch information
Stephen Hemminger authored and Jeff Garzik committed Dec 2, 2006
1 parent badfb3e commit 31331f2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 15 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: 205781510d2a55a5c231f6e51df5b6c4aa765143
refs/heads/master: bac7e8746ce562556b7bd750c7652154483b15e2
14 changes: 0 additions & 14 deletions trunk/drivers/net/chelsio/cxgb2.c
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@
#include <linux/if_vlan.h>
#include <linux/mii.h>
#include <linux/sockios.h>
#include <linux/proc_fs.h>
#include <linux/dma-mapping.h>
#include <asm/uaccess.h>

Expand Down Expand Up @@ -780,17 +779,6 @@ static const struct ethtool_ops t1_ethtool_ops = {
.set_tso = set_tso,
};

static void cxgb_proc_cleanup(struct adapter *adapter,
struct proc_dir_entry *dir)
{
const char *name;
name = adapter->name;
remove_proc_entry(name, dir);
}
//#define chtoe_setup_toedev(adapter) NULL
#define update_mtu_tab(adapter)
#define write_smt_entry(adapter, idx)

static int t1_ioctl(struct net_device *dev, struct ifreq *req, int cmd)
{
struct adapter *adapter = dev->priv;
Expand Down Expand Up @@ -1156,7 +1144,6 @@ static int __devinit init_one(struct pci_dev *pdev,
if (adapter->regs) iounmap(adapter->regs);
for (i = bi->port_number - 1; i >= 0; --i)
if (adapter->port[i].dev) {
cxgb_proc_cleanup(adapter, proc_root_driver);
kfree(adapter->port[i].dev);
}
}
Expand Down Expand Up @@ -1189,7 +1176,6 @@ static void __devexit remove_one(struct pci_dev *pdev)
iounmap(adapter->regs);
while (--i >= 0)
if (adapter->port[i].dev) {
cxgb_proc_cleanup(adapter, proc_root_driver);
kfree(adapter->port[i].dev);
}
pci_release_regions(pdev);
Expand Down

0 comments on commit 31331f2

Please sign in to comment.