diff options
Diffstat (limited to 'drivers/scsi/pcmcia/aha152x_stub.c')
-rw-r--r-- | drivers/scsi/pcmcia/aha152x_stub.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/scsi/pcmcia/aha152x_stub.c b/drivers/scsi/pcmcia/aha152x_stub.c index 49cbea33c141..e77dd02eccdd 100644 --- a/drivers/scsi/pcmcia/aha152x_stub.c +++ b/drivers/scsi/pcmcia/aha152x_stub.c | |||
@@ -85,8 +85,6 @@ static void aha152x_release_cs(struct pcmcia_device *link); | |||
85 | static void aha152x_detach(struct pcmcia_device *p_dev); | 85 | static void aha152x_detach(struct pcmcia_device *p_dev); |
86 | static int aha152x_config_cs(struct pcmcia_device *link); | 86 | static int aha152x_config_cs(struct pcmcia_device *link); |
87 | 87 | ||
88 | static struct pcmcia_device *dev_list; | ||
89 | |||
90 | static int aha152x_probe(struct pcmcia_device *link) | 88 | static int aha152x_probe(struct pcmcia_device *link) |
91 | { | 89 | { |
92 | scsi_info_t *info; | 90 | scsi_info_t *info; |
@@ -231,7 +229,6 @@ static int __init init_aha152x_cs(void) | |||
231 | static void __exit exit_aha152x_cs(void) | 229 | static void __exit exit_aha152x_cs(void) |
232 | { | 230 | { |
233 | pcmcia_unregister_driver(&aha152x_cs_driver); | 231 | pcmcia_unregister_driver(&aha152x_cs_driver); |
234 | BUG_ON(dev_list != NULL); | ||
235 | } | 232 | } |
236 | 233 | ||
237 | module_init(init_aha152x_cs); | 234 | module_init(init_aha152x_cs); |