提交 83f2bedf 编写于 作者: C Chuck Lever 提交者: J. Bruce Fields

svcrdma: Remove unused variable

Nit: remove an unused variable to squelch a compiler warning.
Signed-off-by: NChuck Lever <chuck.lever@oracle.com>
Reviewed-by: NSteve Wise <swise@opengridcomputing.com>
Signed-off-by: NJ. Bruce Fields <bfields@redhat.com>
上级 597561bf
...@@ -687,7 +687,6 @@ static struct svc_xprt *svc_rdma_create(struct svc_serv *serv, ...@@ -687,7 +687,6 @@ static struct svc_xprt *svc_rdma_create(struct svc_serv *serv,
{ {
struct rdma_cm_id *listen_id; struct rdma_cm_id *listen_id;
struct svcxprt_rdma *cma_xprt; struct svcxprt_rdma *cma_xprt;
struct svc_xprt *xprt;
int ret; int ret;
dprintk("svcrdma: Creating RDMA socket\n"); dprintk("svcrdma: Creating RDMA socket\n");
...@@ -698,7 +697,6 @@ static struct svc_xprt *svc_rdma_create(struct svc_serv *serv, ...@@ -698,7 +697,6 @@ static struct svc_xprt *svc_rdma_create(struct svc_serv *serv,
cma_xprt = rdma_create_xprt(serv, 1); cma_xprt = rdma_create_xprt(serv, 1);
if (!cma_xprt) if (!cma_xprt)
return ERR_PTR(-ENOMEM); return ERR_PTR(-ENOMEM);
xprt = &cma_xprt->sc_xprt;
listen_id = rdma_create_id(rdma_listen_handler, cma_xprt, RDMA_PS_TCP, listen_id = rdma_create_id(rdma_listen_handler, cma_xprt, RDMA_PS_TCP,
IB_QPT_RC); IB_QPT_RC);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册