From 513c273d00185846c15eb42d6a7c04aa789a84bb Mon Sep 17 00:00:00 2001
From: nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Date: Wed, 14 Mar 2007 03:37:40 +0000
Subject: fix up remaining parts for the brcm47xx-2.6 port (tested on wgt634u),
 nuke the old brcm-2.6 port, close #1312, #1451

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6564 3c298f89-4303-0410-b956-a3cf2f4a3e73
---
 package/switch/src/switch-robo.c | 10 ----------
 1 file changed, 10 deletions(-)

(limited to 'package/switch/src')

diff --git a/package/switch/src/switch-robo.c b/package/switch/src/switch-robo.c
index d46f8ff3f..009781dc0 100644
--- a/package/switch/src/switch-robo.c
+++ b/package/switch/src/switch-robo.c
@@ -221,10 +221,6 @@ static int robo_vlan5350(void)
 
 static int robo_probe(char *devname)
 {
-	struct ethtool_drvinfo info;
-/*
-	int i;
-*/
 	__u32 phyid;
 
 	printk("Probing device %s: ", devname);
@@ -235,12 +231,6 @@ static int robo_probe(char *devname)
 		return 1;
 	}
 
-	info.cmd = ETHTOOL_GDRVINFO;
-	if (do_ioctl(SIOCETHTOOL, (void *) &info) < 0) {
-		printk("SIOCETHTOOL: not supported\n");
-		return 1;
-	}
-	
 	/* try access using MII ioctls - get phy address */
 	if (do_ioctl(SIOCGMIIPHY, NULL) < 0) {
 		use_et = 1;
-- 
cgit v1.2.3