diff options
author | Ron Mercer <ron.mercer@qlogic.com> | 2008-07-31 16:46:04 -0400 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2008-08-07 02:11:12 -0400 |
commit | 49ef26eb8dc76531b197b591072c403f0e6ec598 (patch) | |
tree | 8e17527913a250fd8e53416f8b6a1c708363fac0 /drivers/net/qla3xxx.c | |
parent | 9ad27643f3a054dff9211bb9938f2323907c2ffe (diff) |
qla3xxx: fix: Remove unused set_multicast function.
This device is one side of a two-function adapter (NIC and iSCSI).
Promiscuous mode setting/clearing is not allowed from the NIC side.
Signed-off-by: Ron Mercer <ron.mercer@qlogic.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/net/qla3xxx.c')
-rw-r--r-- | drivers/net/qla3xxx.c | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/drivers/net/qla3xxx.c b/drivers/net/qla3xxx.c index e82b37bbd6c3..763169f9299f 100644 --- a/drivers/net/qla3xxx.c +++ b/drivers/net/qla3xxx.c | |||
@@ -3730,14 +3730,6 @@ static int ql3xxx_open(struct net_device *ndev) | |||
3730 | return (ql_adapter_up(qdev)); | 3730 | return (ql_adapter_up(qdev)); |
3731 | } | 3731 | } |
3732 | 3732 | ||
3733 | static void ql3xxx_set_multicast_list(struct net_device *ndev) | ||
3734 | { | ||
3735 | /* | ||
3736 | * We are manually parsing the list in the net_device structure. | ||
3737 | */ | ||
3738 | return; | ||
3739 | } | ||
3740 | |||
3741 | static int ql3xxx_set_mac_address(struct net_device *ndev, void *p) | 3733 | static int ql3xxx_set_mac_address(struct net_device *ndev, void *p) |
3742 | { | 3734 | { |
3743 | struct ql3_adapter *qdev = (struct ql3_adapter *)netdev_priv(ndev); | 3735 | struct ql3_adapter *qdev = (struct ql3_adapter *)netdev_priv(ndev); |
@@ -4007,7 +3999,11 @@ static int __devinit ql3xxx_probe(struct pci_dev *pdev, | |||
4007 | ndev->open = ql3xxx_open; | 3999 | ndev->open = ql3xxx_open; |
4008 | ndev->hard_start_xmit = ql3xxx_send; | 4000 | ndev->hard_start_xmit = ql3xxx_send; |
4009 | ndev->stop = ql3xxx_close; | 4001 | ndev->stop = ql3xxx_close; |
4010 | ndev->set_multicast_list = ql3xxx_set_multicast_list; | 4002 | /* ndev->set_multicast_list |
4003 | * This device is one side of a two-function adapter | ||
4004 | * (NIC and iSCSI). Promiscuous mode setting/clearing is | ||
4005 | * not allowed from the NIC side. | ||
4006 | */ | ||
4011 | SET_ETHTOOL_OPS(ndev, &ql3xxx_ethtool_ops); | 4007 | SET_ETHTOOL_OPS(ndev, &ql3xxx_ethtool_ops); |
4012 | ndev->set_mac_address = ql3xxx_set_mac_address; | 4008 | ndev->set_mac_address = ql3xxx_set_mac_address; |
4013 | ndev->tx_timeout = ql3xxx_tx_timeout; | 4009 | ndev->tx_timeout = ql3xxx_tx_timeout; |