mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-18 03:01:26 +00:00
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
This commit is contained in:
@@ -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));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user