aboutsummaryrefslogtreecommitdiffstats
path: root/net/sunrpc/xprtrdma
diff options
context:
space:
mode:
Diffstat (limited to 'net/sunrpc/xprtrdma')
-rw-r--r--net/sunrpc/xprtrdma/transport.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/net/sunrpc/xprtrdma/transport.c b/net/sunrpc/xprtrdma/transport.c
index 5f9b8676b6bd..9a63f669ece4 100644
--- a/net/sunrpc/xprtrdma/transport.c
+++ b/net/sunrpc/xprtrdma/transport.c
@@ -181,11 +181,6 @@ xprt_rdma_format_addresses(struct rpc_xprt *xprt)
181 181
182 xprt->address_strings[RPC_DISPLAY_PROTO] = "rdma"; 182 xprt->address_strings[RPC_DISPLAY_PROTO] = "rdma";
183 183
184 (void)snprintf(buf, sizeof(buf), "addr=%s port=%s proto=rdma",
185 xprt->address_strings[RPC_DISPLAY_ADDR],
186 xprt->address_strings[RPC_DISPLAY_PORT]);
187 xprt->address_strings[RPC_DISPLAY_ALL] = kstrdup(buf, GFP_KERNEL);
188
189 (void)snprintf(buf, sizeof(buf), "%02x%02x%02x%02x", 184 (void)snprintf(buf, sizeof(buf), "%02x%02x%02x%02x",
190 NIPQUAD(sin->sin_addr.s_addr)); 185 NIPQUAD(sin->sin_addr.s_addr));
191 xprt->address_strings[RPC_DISPLAY_HEX_ADDR] = kstrdup(buf, GFP_KERNEL); 186 xprt->address_strings[RPC_DISPLAY_HEX_ADDR] = kstrdup(buf, GFP_KERNEL);