From ce85be159540c12f695238c923e5ed549d2685fb Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Sun, 18 Sep 2011 12:23:13 +0000 Subject: [PATCH] ib_srpt: Remove a superfluous __srpt_close_ch() call git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3872 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- srpt/src/ib_srpt.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/srpt/src/ib_srpt.c b/srpt/src/ib_srpt.c index 709814eec..03b6a6fc6 100644 --- a/srpt/src/ib_srpt.c +++ b/srpt/src/ib_srpt.c @@ -3438,10 +3438,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 %s; %d commands in progress", - ch->sess_name, - get_ch_state_name(ch->state), + ch->sess_name, get_ch_state_name(ch->state), atomic_read(&ch->scst_sess->sess_cmd_count)); - __srpt_close_ch(ch); } spin_unlock_irq(&sdev->spinlock); }