mxlnd_get_peer_info(int index, lnet_nid_t *nidp, int *count)
{
int i = 0;
+ int ret = -ENOENT;
struct kmx_peer *peer = NULL;
struct kmx_conn *conn = NULL;
*nidp = peer->mxp_nid;
*count = atomic_read(&peer->mxp_refcount);
+ ret = 0;
+ break;
}
}
read_unlock(&kmxlnd_data.kmx_peers_lock);
- return -ENOENT;
+ return ret;
}
void