diff options
Diffstat (limited to 'drivers/scsi/aic7xxx')
-rw-r--r-- | drivers/scsi/aic7xxx/aic79xx_osm.c | 4 | ||||
-rw-r--r-- | drivers/scsi/aic7xxx/aic7xxx_osm.c | 2 |
2 files changed, 1 insertions, 5 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 | ||
diff --git a/drivers/scsi/aic7xxx/aic7xxx_osm.c b/drivers/scsi/aic7xxx/aic7xxx_osm.c index 3fbc10e58cc2..22434849de48 100644 --- a/drivers/scsi/aic7xxx/aic7xxx_osm.c +++ b/drivers/scsi/aic7xxx/aic7xxx_osm.c | |||
@@ -2335,8 +2335,6 @@ ahc_platform_dump_card_state(struct ahc_softc *ahc) | |||
2335 | { | 2335 | { |
2336 | } | 2336 | } |
2337 | 2337 | ||
2338 | static void ahc_linux_exit(void); | ||
2339 | |||
2340 | static void ahc_linux_set_width(struct scsi_target *starget, int width) | 2338 | static void ahc_linux_set_width(struct scsi_target *starget, int width) |
2341 | { | 2339 | { |
2342 | struct Scsi_Host *shost = dev_to_shost(starget->dev.parent); | 2340 | struct Scsi_Host *shost = dev_to_shost(starget->dev.parent); |