diff options
Diffstat (limited to 'drivers/net/wireless/spectrum_cs.c')
-rw-r--r-- | drivers/net/wireless/spectrum_cs.c | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/drivers/net/wireless/spectrum_cs.c b/drivers/net/wireless/spectrum_cs.c index a2dcab7995c1..1933250dad1a 100644 --- a/drivers/net/wireless/spectrum_cs.c +++ b/drivers/net/wireless/spectrum_cs.c | |||
@@ -78,13 +78,6 @@ struct orinoco_pccard { | |||
78 | dev_node_t node; | 78 | dev_node_t node; |
79 | }; | 79 | }; |
80 | 80 | ||
81 | /* | ||
82 | * A linked list of "instances" of the device. Each actual PCMCIA | ||
83 | * card corresponds to one device instance, and is described by one | ||
84 | * dev_link_t structure (defined in ds.h). | ||
85 | */ | ||
86 | static dev_link_t *dev_list; /* = NULL */ | ||
87 | |||
88 | /********************************************************************/ | 81 | /********************************************************************/ |
89 | /* Function prototypes */ | 82 | /* Function prototypes */ |
90 | /********************************************************************/ | 83 | /********************************************************************/ |
@@ -637,8 +630,7 @@ spectrum_cs_attach(void) | |||
637 | 630 | ||
638 | /* Register with Card Services */ | 631 | /* Register with Card Services */ |
639 | /* FIXME: need a lock? */ | 632 | /* FIXME: need a lock? */ |
640 | link->next = dev_list; | 633 | link->next = NULL; /* not needed */ |
641 | dev_list = link; | ||
642 | 634 | ||
643 | client_reg.dev_info = &dev_info; | 635 | client_reg.dev_info = &dev_info; |
644 | client_reg.Version = 0x0210; /* FIXME: what does this mean? */ | 636 | client_reg.Version = 0x0210; /* FIXME: what does this mean? */ |
@@ -1049,7 +1041,6 @@ static void __exit | |||
1049 | exit_spectrum_cs(void) | 1041 | exit_spectrum_cs(void) |
1050 | { | 1042 | { |
1051 | pcmcia_unregister_driver(&orinoco_driver); | 1043 | pcmcia_unregister_driver(&orinoco_driver); |
1052 | BUG_ON(dev_list != NULL); | ||
1053 | } | 1044 | } |
1054 | 1045 | ||
1055 | module_init(init_spectrum_cs); | 1046 | module_init(init_spectrum_cs); |