diff options
author | Dave Airlie <airlied@starflyer.(none)> | 2005-10-20 10:21:33 +0200 |
---|---|---|
committer | Dave Airlie <airlied@linux.ie> | 2005-10-20 10:21:33 +0200 |
commit | 312f5726055534be1dc9dd369be13aabd2943fcb (patch) | |
tree | 29394a3f83b4952a73b36a4aa962dfeda839e9db /drivers/scsi/hosts.c | |
parent | drm: fix drm PCIGART (diff) | |
parent | Linux v2.6.14-rc5 (diff) | |
download | linux-312f5726055534be1dc9dd369be13aabd2943fcb.tar.xz linux-312f5726055534be1dc9dd369be13aabd2943fcb.zip |
merge Linus head tree into my drm tree and fix up conflicts
Diffstat (limited to 'drivers/scsi/hosts.c')
-rw-r--r-- | drivers/scsi/hosts.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/hosts.c b/drivers/scsi/hosts.c index f2a72d33132c..02fe371b0ab8 100644 --- a/drivers/scsi/hosts.c +++ b/drivers/scsi/hosts.c @@ -176,6 +176,7 @@ void scsi_remove_host(struct Scsi_Host *shost) transport_unregister_device(&shost->shost_gendev); class_device_unregister(&shost->shost_classdev); device_del(&shost->shost_gendev); + scsi_proc_hostdir_rm(shost->hostt); } EXPORT_SYMBOL(scsi_remove_host); @@ -262,7 +263,6 @@ static void scsi_host_dev_release(struct device *dev) if (shost->work_q) destroy_workqueue(shost->work_q); - scsi_proc_hostdir_rm(shost->hostt); scsi_destroy_command_freelist(shost); kfree(shost->shost_data); |