From a37e20d3c318775e0b326f3e2808e67572f9dfed Mon Sep 17 00:00:00 2001 From: Yan Burman Date: Sun, 16 Nov 2014 13:25:14 +0000 Subject: [PATCH] isert: Remove extra paranoid check Signed-off-by: Yan Burman git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/iser@5872 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- iscsi-scst/kernel/isert-scst/iser_rdma.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/iscsi-scst/kernel/isert-scst/iser_rdma.c b/iscsi-scst/kernel/isert-scst/iser_rdma.c index 947a3573a..344a69760 100644 --- a/iscsi-scst/kernel/isert-scst/iser_rdma.c +++ b/iscsi-scst/kernel/isert-scst/iser_rdma.c @@ -1451,10 +1451,6 @@ static int isert_cm_evt_handler(struct rdma_cm_id *cm_id, TRACE_ENTRY(); - if (unlikely(IS_ERR(cm_id))) { - pr_err("isert_cm_evt invalid cm_id:%p\n", cm_id); - goto out; - } ev_type = cm_ev->event; portal = cm_id->context; pr_info("isert_cm_evt:%s(%d) status:%d portal:%p cm_id:%p\n",