mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-17 10:41:26 +00:00
ib_srpt: Removed a superfluous if-statement. This is a micro-optimization.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3521 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -1716,9 +1716,6 @@ static void srpt_handle_new_iu(struct srpt_rdma_ch *ch,
|
||||
goto out;
|
||||
}
|
||||
|
||||
if (unlikely(ch_state != CH_LIVE))
|
||||
goto post_recv;
|
||||
|
||||
if (srp_cmd->opcode == SRP_CMD || srp_cmd->opcode == SRP_TSK_MGMT) {
|
||||
if (!send_ioctx)
|
||||
send_ioctx = srpt_get_send_ioctx(ch);
|
||||
|
||||
Reference in New Issue
Block a user