From c014e007b6751410cc0aa5cedbf8620b20d2d63f Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Tue, 27 Sep 2011 16:57:38 +0000 Subject: [PATCH] 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 --- 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 eb80fd97d..98cf65bf5 100644 --- a/srpt/src/ib_srpt.c +++ b/srpt/src/ib_srpt.c @@ -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); }