aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/rdc-2.6/files
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2007-04-17 16:49:19 +0000
committerFlorian Fainelli <florian@openwrt.org>2007-04-17 16:49:19 +0000
commit301acad069ff5e308109c0a5b0233a2a66c54f9b (patch)
tree16bc0c1c6bd5fb69e837959819fb0e98ddb5676f /target/linux/rdc-2.6/files
parent9f652a1a859efc0c2ea72e6c96c6cab40f4807cb (diff)
downloadupstream-301acad069ff5e308109c0a5b0233a2a66c54f9b.tar.gz
upstream-301acad069ff5e308109c0a5b0233a2a66c54f9b.tar.bz2
upstream-301acad069ff5e308109c0a5b0233a2a66c54f9b.zip
Suppress the useless ioctl function
SVN-Revision: 6988
Diffstat (limited to 'target/linux/rdc-2.6/files')
-rw-r--r--target/linux/rdc-2.6/files/drivers/net/r6040.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/target/linux/rdc-2.6/files/drivers/net/r6040.c b/target/linux/rdc-2.6/files/drivers/net/r6040.c
index 81648ac13b..2398031d5f 100644
--- a/target/linux/rdc-2.6/files/drivers/net/r6040.c
+++ b/target/linux/rdc-2.6/files/drivers/net/r6040.c
@@ -188,7 +188,6 @@ static struct net_device_stats *r6040_get_stats(struct net_device *dev);
static int r6040_close(struct net_device *dev);
static void set_multicast_list(struct net_device *dev);
static struct ethtool_ops netdev_ethtool_ops;
-static int netdev_ioctl (struct net_device *dev, struct ifreq *rq, int cmd);
static void r6040_down(struct net_device *dev);
static void r6040_up(struct net_device *dev);
static void r6040_tx_timeout (struct net_device *dev);
@@ -271,7 +270,6 @@ static int __devinit r6040_init_one (struct pci_dev *pdev,
dev->stop = &r6040_close;
dev->get_stats = &r6040_get_stats;
dev->set_multicast_list = &set_multicast_list;
- dev->do_ioctl = &netdev_ioctl;
dev->ethtool_ops = &netdev_ethtool_ops;
dev->tx_timeout = &r6040_tx_timeout;
dev->watchdog_timeo = TX_TIMEOUT;
@@ -609,14 +607,6 @@ r6040_close(struct net_device *dev)
}
/**
- */
-static int netdev_ioctl (struct net_device *dev, struct ifreq *rq, int cmd)
-{
- RDC_DBUG("netdev_ioctl()", 0);
- return 0;
-}
-
-/**
Stop RDC MAC and Free the allocated resource
*/
static void r6040_down(struct net_device *dev)