Commit 11bc9421 authored by Andy Grover's avatar Andy Grover Committed by David S. Miller

RDS: Correct some iw references in rdma_transport.c

Had some lingering instances of _iw_ variable names from when
the listen code was centralized into rdma_transport.c
Signed-off-by: default avatarAndy Grover <andy.grover@oracle.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 5cd2fe6d
...@@ -34,7 +34,7 @@ ...@@ -34,7 +34,7 @@
#include "rdma_transport.h" #include "rdma_transport.h"
static struct rdma_cm_id *rds_iw_listen_id; static struct rdma_cm_id *rds_rdma_listen_id;
int rds_rdma_cm_event_handler(struct rdma_cm_id *cm_id, int rds_rdma_cm_event_handler(struct rdma_cm_id *cm_id,
struct rdma_cm_event *event) struct rdma_cm_event *event)
...@@ -161,7 +161,7 @@ static int __init rds_rdma_listen_init(void) ...@@ -161,7 +161,7 @@ static int __init rds_rdma_listen_init(void)
rdsdebug("cm %p listening on port %u\n", cm_id, RDS_PORT); rdsdebug("cm %p listening on port %u\n", cm_id, RDS_PORT);
rds_iw_listen_id = cm_id; rds_rdma_listen_id = cm_id;
cm_id = NULL; cm_id = NULL;
out: out:
if (cm_id) if (cm_id)
...@@ -171,10 +171,10 @@ static int __init rds_rdma_listen_init(void) ...@@ -171,10 +171,10 @@ static int __init rds_rdma_listen_init(void)
static void rds_rdma_listen_stop(void) static void rds_rdma_listen_stop(void)
{ {
if (rds_iw_listen_id) { if (rds_rdma_listen_id) {
rdsdebug("cm %p\n", rds_iw_listen_id); rdsdebug("cm %p\n", rds_rdma_listen_id);
rdma_destroy_id(rds_iw_listen_id); rdma_destroy_id(rds_rdma_listen_id);
rds_iw_listen_id = NULL; rds_rdma_listen_id = NULL;
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment