From 178d0bd692fd1a8a344291dcff80fa7a0cc7d427 Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Mon, 18 Jun 2012 11:27:02 +0000 Subject: [PATCH] ib_srpt: Remove a superfluous comparison statement git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4353 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- srpt/src/ib_srpt.c | 1 - 1 file changed, 1 deletion(-) diff --git a/srpt/src/ib_srpt.c b/srpt/src/ib_srpt.c index d9974bef4..d50de4491 100644 --- a/srpt/src/ib_srpt.c +++ b/srpt/src/ib_srpt.c @@ -2563,7 +2563,6 @@ static int srpt_cm_req_recv(struct ib_cm_id *cm_id, restart: list_for_each_entry(ch2, &sdev->rch_list, list) { if (!memcmp(ch2->i_port_id, req->initiator_port_id, 16) - && !memcmp(ch2->t_port_id, req->target_port_id, 16) && param->port == ch2->sport->port && param->listen_id == ch2->sport->sdev->cm_id) { if (!__srpt_close_ch(ch2))