From 70017e3883f53329aad542eda5abeaf59d8071ee Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Tue, 27 Aug 2013 06:35:39 +0000 Subject: [PATCH] ib_srpt: Remove two statements that became superfluous from srpt_abort_cmd() git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4978 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- srpt/src/ib_srpt.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/srpt/src/ib_srpt.c b/srpt/src/ib_srpt.c index 207e3389a..225566569 100644 --- a/srpt/src/ib_srpt.c +++ b/srpt/src/ib_srpt.c @@ -1380,9 +1380,6 @@ static void srpt_abort_cmd(struct srpt_send_ioctx *ioctx, goto out; scmnd = &ioctx->scmnd; - WARN_ON(!scmnd); - if (!scmnd) - goto out; WARN_ON(ioctx != scst_cmd_get_tgt_priv(scmnd));