/* scsi_proc_hostdir_rm - remove directory in /proc for a scsi host @sht: owner of directory  */
void scsi_proc_hostdir_rm(struct scsi_host_template *sht)
/* scsi_proc_hostdir_rm - remove directory in /proc for a scsi host @sht: owner of directory  */
void scsi_proc_hostdir_rm(struct scsi_host_template *sht)
{
	if (!sht->proc_info)
		return;
	mutex_lock(&global_host_template_mutex);
	if (!--sht->present && sht->proc_dir) {
		remove_proc_entry(sht->proc_name, proc_scsi);
		sht->proc_dir = NULL;
	}
	mutex_unlock(&global_host_template_mutex);
}