aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@osdl.org>2006-11-17 14:23:41 -0500
committerJeff Garzik <jeff@garzik.org>2006-12-02 00:16:36 -0500
commitbac7e8746ce562556b7bd750c7652154483b15e2 (patch)
tree6648f9f0b9c489dac5d292a866d8532efcbdac0b /drivers
parent205781510d2a55a5c231f6e51df5b6c4aa765143 (diff)
[PATCH] chelsio: procectomy
Complete removal of proc stuff from chelsio. The orignal driver had a debug proc interface, but not all the code got removed. Signed-off-by: Stephen Hemminger <shemminger@osdl.org> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/chelsio/cxgb2.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/drivers/net/chelsio/cxgb2.c b/drivers/net/chelsio/cxgb2.c
index 3309bfc774e0..37de99b65c14 100644
--- a/drivers/net/chelsio/cxgb2.c
+++ b/drivers/net/chelsio/cxgb2.c
@@ -45,7 +45,6 @@
45#include <linux/if_vlan.h> 45#include <linux/if_vlan.h>
46#include <linux/mii.h> 46#include <linux/mii.h>
47#include <linux/sockios.h> 47#include <linux/sockios.h>
48#include <linux/proc_fs.h>
49#include <linux/dma-mapping.h> 48#include <linux/dma-mapping.h>
50#include <asm/uaccess.h> 49#include <asm/uaccess.h>
51 50
@@ -780,17 +779,6 @@ static const struct ethtool_ops t1_ethtool_ops = {
780 .set_tso = set_tso, 779 .set_tso = set_tso,
781}; 780};
782 781
783static void cxgb_proc_cleanup(struct adapter *adapter,
784 struct proc_dir_entry *dir)
785{
786 const char *name;
787 name = adapter->name;
788 remove_proc_entry(name, dir);
789}
790//#define chtoe_setup_toedev(adapter) NULL
791#define update_mtu_tab(adapter)
792#define write_smt_entry(adapter, idx)
793
794static int t1_ioctl(struct net_device *dev, struct ifreq *req, int cmd) 782static int t1_ioctl(struct net_device *dev, struct ifreq *req, int cmd)
795{ 783{
796 struct adapter *adapter = dev->priv; 784 struct adapter *adapter = dev->priv;
@@ -1156,7 +1144,6 @@ static int __devinit init_one(struct pci_dev *pdev,
1156 if (adapter->regs) iounmap(adapter->regs); 1144 if (adapter->regs) iounmap(adapter->regs);
1157 for (i = bi->port_number - 1; i >= 0; --i) 1145 for (i = bi->port_number - 1; i >= 0; --i)
1158 if (adapter->port[i].dev) { 1146 if (adapter->port[i].dev) {
1159 cxgb_proc_cleanup(adapter, proc_root_driver);
1160 kfree(adapter->port[i].dev); 1147 kfree(adapter->port[i].dev);
1161 } 1148 }
1162 } 1149 }
@@ -1189,7 +1176,6 @@ static void __devexit remove_one(struct pci_dev *pdev)
1189 iounmap(adapter->regs); 1176 iounmap(adapter->regs);
1190 while (--i >= 0) 1177 while (--i >= 0)
1191 if (adapter->port[i].dev) { 1178 if (adapter->port[i].dev) {
1192 cxgb_proc_cleanup(adapter, proc_root_driver);
1193 kfree(adapter->port[i].dev); 1179 kfree(adapter->port[i].dev);
1194 } 1180 }
1195 pci_release_regions(pdev); 1181 pci_release_regions(pdev);