diff options
Diffstat (limited to 'drivers/scsi/aic7xxx/aic79xx_osm.c')
-rw-r--r-- | drivers/scsi/aic7xxx/aic79xx_osm.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/scsi/aic7xxx/aic79xx_osm.c b/drivers/scsi/aic7xxx/aic79xx_osm.c index acaeebd50465..2f158624c5d2 100644 --- a/drivers/scsi/aic7xxx/aic79xx_osm.c +++ b/drivers/scsi/aic7xxx/aic79xx_osm.c | |||
@@ -2326,8 +2326,6 @@ done: | |||
2326 | return (retval); | 2326 | return (retval); |
2327 | } | 2327 | } |
2328 | 2328 | ||
2329 | static void ahd_linux_exit(void); | ||
2330 | |||
2331 | static void ahd_linux_set_width(struct scsi_target *starget, int width) | 2329 | static void ahd_linux_set_width(struct scsi_target *starget, int width) |
2332 | { | 2330 | { |
2333 | struct Scsi_Host *shost = dev_to_shost(starget->dev.parent); | 2331 | struct Scsi_Host *shost = dev_to_shost(starget->dev.parent); |
@@ -2772,7 +2770,7 @@ ahd_linux_init(void) | |||
2772 | if (ahd_linux_detect(&aic79xx_driver_template) > 0) | 2770 | if (ahd_linux_detect(&aic79xx_driver_template) > 0) |
2773 | return 0; | 2771 | return 0; |
2774 | spi_release_transport(ahd_linux_transport_template); | 2772 | spi_release_transport(ahd_linux_transport_template); |
2775 | ahd_linux_exit(); | 2773 | |
2776 | return -ENODEV; | 2774 | return -ENODEV; |
2777 | } | 2775 | } |
2778 | 2776 | ||