diff options
author | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-15 11:19:33 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-15 11:19:33 -0400 |
commit | df3d80f5a5c74168be42788364d13cf6c83c7b9c (patch) | |
tree | 892a964c2fd28d028f2fb7471e8543d3f4006a58 /drivers/scsi/aha152x.c | |
parent | 3d06f7a5f74a813cee817c4b30b5e6f0398da0be (diff) | |
parent | c8e91b0a8fc8493e3bf3efcb3c8f866e9453cf1c (diff) |
Merge master.kernel.org:/pub/scm/linux/kernel/git/jejb/scsi-misc-2.6
* master.kernel.org:/pub/scm/linux/kernel/git/jejb/scsi-misc-2.6: (207 commits)
[SCSI] gdth: fix CONFIG_ISA build failure
[SCSI] esp_scsi: remove __dev{init,exit}
[SCSI] gdth: !use_sg cleanup and use of scsi accessors
[SCSI] gdth: Move members from SCp to gdth_cmndinfo, stage 2
[SCSI] gdth: Setup proper per-command private data
[SCSI] gdth: Remove gdth_ctr_tab[]
[SCSI] gdth: switch to modern scsi host registration
[SCSI] gdth: gdth_interrupt() gdth_get_status() & gdth_wait() fixes
[SCSI] gdth: clean up host private data
[SCSI] gdth: Remove virt hosts
[SCSI] gdth: Reorder scsi_host_template intitializers
[SCSI] gdth: kill gdth_{read,write}[bwl] wrappers
[SCSI] gdth: Remove 2.4.x support, in-kernel changelog
[SCSI] gdth: split out pci probing
[SCSI] gdth: split out eisa probing
[SCSI] gdth: split out isa probing
gdth: Make one abuse of scsi_cmnd less obvious
[SCSI] NCR5380: Use scsi_eh API for REQUEST_SENSE invocation
[SCSI] usb storage: use scsi_eh API in REQUEST_SENSE execution
[SCSI] scsi_error: Refactoring scsi_error to facilitate in synchronous REQUEST_SENSE
...
Diffstat (limited to 'drivers/scsi/aha152x.c')
-rw-r--r-- | drivers/scsi/aha152x.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/scsi/aha152x.c b/drivers/scsi/aha152x.c index d30a30786dda..f08e71e0205a 100644 --- a/drivers/scsi/aha152x.c +++ b/drivers/scsi/aha152x.c | |||
@@ -907,9 +907,10 @@ out_host_put: | |||
907 | 907 | ||
908 | void aha152x_release(struct Scsi_Host *shpnt) | 908 | void aha152x_release(struct Scsi_Host *shpnt) |
909 | { | 909 | { |
910 | if(!shpnt) | 910 | if (!shpnt) |
911 | return; | 911 | return; |
912 | 912 | ||
913 | scsi_remove_host(shpnt); | ||
913 | if (shpnt->irq) | 914 | if (shpnt->irq) |
914 | free_irq(shpnt->irq, shpnt); | 915 | free_irq(shpnt->irq, shpnt); |
915 | 916 | ||
@@ -923,7 +924,6 @@ void aha152x_release(struct Scsi_Host *shpnt) | |||
923 | pnp_device_detach(HOSTDATA(shpnt)->pnpdev); | 924 | pnp_device_detach(HOSTDATA(shpnt)->pnpdev); |
924 | #endif | 925 | #endif |
925 | 926 | ||
926 | scsi_remove_host(shpnt); | ||
927 | list_del(&HOSTDATA(shpnt)->host_list); | 927 | list_del(&HOSTDATA(shpnt)->host_list); |
928 | scsi_host_put(shpnt); | 928 | scsi_host_put(shpnt); |
929 | } | 929 | } |