aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/infiniband/ulp/iser/iser_verbs.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/infiniband/ulp/iser/iser_verbs.c b/drivers/infiniband/ulp/iser/iser_verbs.c
index 91b2b39eb20c..714b8db02b29 100644
--- a/drivers/infiniband/ulp/iser/iser_verbs.c
+++ b/drivers/infiniband/ulp/iser/iser_verbs.c
@@ -475,13 +475,11 @@ static int iser_cma_handler(struct rdma_cm_id *cma_id, struct rdma_cm_event *eve
475 iser_disconnected_handler(cma_id); 475 iser_disconnected_handler(cma_id);
476 break; 476 break;
477 case RDMA_CM_EVENT_DEVICE_REMOVAL: 477 case RDMA_CM_EVENT_DEVICE_REMOVAL:
478 iser_err("Device removal is currently unsupported\n");
478 BUG(); 479 BUG();
479 break; 480 break;
480 case RDMA_CM_EVENT_CONNECT_RESPONSE:
481 BUG();
482 break;
483 case RDMA_CM_EVENT_CONNECT_REQUEST:
484 default: 481 default:
482 iser_err("Unexpected RDMA CM event (%d)\n", event->event);
485 break; 483 break;
486 } 484 }
487 return ret; 485 return ret;