mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-17 10:41:26 +00:00
ib_srpt: Remove a superfluous __srpt_close_ch() call (Merged r3872 from trunk).
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.1.0.x@3880 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -3486,10 +3486,8 @@ static int srpt_release_sdev(struct srpt_device *sdev)
|
||||
spin_lock_irq(&sdev->spinlock);
|
||||
list_for_each_entry_safe(ch, next_ch, &sdev->rch_list, list) {
|
||||
PRINT_INFO("%s: state %d; %d commands in progress",
|
||||
ch->sess_name,
|
||||
atomic_read(&ch->state),
|
||||
ch->sess_name, atomic_read(&ch->state),
|
||||
atomic_read(&ch->scst_sess->sess_cmd_count));
|
||||
__srpt_close_ch(ch);
|
||||
}
|
||||
spin_unlock_irq(&sdev->spinlock);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user