From 073a504cd34d9f794dc9821c687062f512d84538 Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Thu, 2 Jun 2011 19:12:29 +0000 Subject: [PATCH] ib_srpt: Another follow-up for r3515. git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3520 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- srpt/src/ib_srpt.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/srpt/src/ib_srpt.c b/srpt/src/ib_srpt.c index 2dc55d587..4416175fd 100644 --- a/srpt/src/ib_srpt.c +++ b/srpt/src/ib_srpt.c @@ -3130,8 +3130,6 @@ static int srpt_xmit_response(struct scst_cmd *scmnd) } spin_unlock_irqrestore(&ioctx->spinlock, flags); - if (state != SRPT_STATE_DATA_IN) - if (unlikely(scst_cmd_aborted(scmnd))) { atomic_inc(&ch->req_lim_delta); srpt_abort_cmd(ioctx, SCST_CONTEXT_SAME);