From e7603fc7a719aeed6d327235ca2cadc25094d078 Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Thu, 9 Jun 2016 22:18:10 +0000 Subject: [PATCH] ib_srpt: Start with comp_vector 0 git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6901 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 410c392eb..ebe5a2901 100644 --- a/srpt/src/ib_srpt.c +++ b/srpt/src/ib_srpt.c @@ -4303,7 +4303,6 @@ static void srpt_init_sport(struct srpt_port *sport, struct ib_device *ib_dev) INIT_LIST_HEAD(&sport->nexus_list); init_waitqueue_head(&sport->ch_releaseQ); mutex_init(&sport->mutex); - sport->comp_vector = -1; strlcpy(sport->port_id, DEFAULT_SRPT_ID_STRING, sizeof(sport->port_id)); for (i = 0; i < ib_dev->num_comp_vectors; i++)