iser-target: Remove redundant check on recv completion
authorSagi Grimberg <sagig@mellanox.com>
Sun, 29 Mar 2015 12:52:06 +0000 (15:52 +0300)
committerNicholas Bellinger <nab@linux-iscsi.org>
Wed, 8 Apr 2015 06:27:50 +0000 (23:27 -0700)
We have a switch default for this.

Signed-off-by: Sagi Grimberg <sagig@mellanox.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/infiniband/ulp/isert/ib_isert.c

index 506c2eb60808aebd9a32aa0b0b3bda81c13e8e65..9b40b37a1e1dbdf00c54236cf27ec0e00d520002 100644 (file)
@@ -1946,10 +1946,6 @@ isert_send_completion(struct iser_tx_desc *tx_desc,
        isert_dbg("Cmd %p iser_ib_op %d\n", isert_cmd, wr->iser_ib_op);
 
        switch (wr->iser_ib_op) {
-       case ISER_IB_RECV:
-               isert_err("Got ISER_IB_RECV\n");
-               dump_stack();
-               break;
        case ISER_IB_SEND:
                isert_response_completion(tx_desc, isert_cmd,
                                          isert_conn, ib_dev);