diff options
Diffstat (limited to 'drivers/net/wireless/hostap/hostap_cs.c')
-rw-r--r-- | drivers/net/wireless/hostap/hostap_cs.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/net/wireless/hostap/hostap_cs.c b/drivers/net/wireless/hostap/hostap_cs.c index ba645701179a..bd8a4134edeb 100644 --- a/drivers/net/wireless/hostap/hostap_cs.c +++ b/drivers/net/wireless/hostap/hostap_cs.c | |||
@@ -466,9 +466,6 @@ static void prism2_detach(struct pcmcia_device *link) | |||
466 | } | 466 | } |
467 | 467 | ||
468 | 468 | ||
469 | /* run after a CARD_INSERTION event is received to configure the PCMCIA | ||
470 | * socket and make the device available to the system */ | ||
471 | |||
472 | static int prism2_config_check(struct pcmcia_device *p_dev, void *priv_data) | 469 | static int prism2_config_check(struct pcmcia_device *p_dev, void *priv_data) |
473 | { | 470 | { |
474 | if (p_dev->config_index == 0) | 471 | if (p_dev->config_index == 0) |
@@ -530,11 +527,6 @@ static int prism2_config(struct pcmcia_device *link) | |||
530 | if (ret) | 527 | if (ret) |
531 | goto failed_unlock; | 528 | goto failed_unlock; |
532 | 529 | ||
533 | /* | ||
534 | * This actually configures the PCMCIA socket -- setting up | ||
535 | * the I/O windows and the interrupt mapping, and putting the | ||
536 | * card and host interface into "Memory and IO" mode. | ||
537 | */ | ||
538 | ret = pcmcia_enable_device(link); | 530 | ret = pcmcia_enable_device(link); |
539 | if (ret) | 531 | if (ret) |
540 | goto failed_unlock; | 532 | goto failed_unlock; |