ipw2200: stop using net_device.{base_addr, irq}.
authorFrancois Romieu <romieu@fr.zoreil.com>
Sat, 24 Mar 2012 08:54:27 +0000 (09:54 +0100)
committerFrancois Romieu <romieu@fr.zoreil.com>
Sat, 7 Apr 2012 09:58:38 +0000 (11:58 +0200)
Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
Cc: Stanislav Yakovlev <stas.yakovlev@gmail.com>
drivers/net/wireless/ipw2x00/ipw2200.c

index 2b022571a8595a5dd41c89bdd515d0f1fd0dc70b..57af0fc76d123591b7ca65ae5d3fa0ce0807c531 100644 (file)
@@ -11826,10 +11826,6 @@ static int __devinit ipw_pci_probe(struct pci_dev *pdev,
        net_dev->wireless_data = &priv->wireless_data;
        net_dev->wireless_handlers = &ipw_wx_handler_def;
        net_dev->ethtool_ops = &ipw_ethtool_ops;
-       net_dev->irq = pdev->irq;
-       net_dev->base_addr = (unsigned long)priv->hw_base;
-       net_dev->mem_start = pci_resource_start(pdev, 0);
-       net_dev->mem_end = net_dev->mem_start + pci_resource_len(pdev, 0) - 1;
 
        err = sysfs_create_group(&pdev->dev.kobj, &ipw_attribute_group);
        if (err) {