Whamcloud - gitweb
- make HEAD from b_post_cmd3
[fs/lustre-release.git] / lustre / ptlrpc / connection.c
index 52994ba..1d2e228 100644 (file)
@@ -130,7 +130,6 @@ struct ptlrpc_connection *ptlrpc_get_connection(lnet_process_id_t peer,
 int ptlrpc_put_connection(struct ptlrpc_connection *c)
 {
         int rc = 0;
-        lnet_process_id_t peer;
         ENTRY;
 
         if (c == NULL) {
@@ -138,8 +137,6 @@ int ptlrpc_put_connection(struct ptlrpc_connection *c)
                 RETURN(0);
         }
 
-        peer = c->c_peer;
-
         CDEBUG (D_INFO, "connection=%p refcount %d to %s\n",
                 c, atomic_read(&c->c_refcount) - 1, 
                 libcfs_nid2str(c->c_peer.nid));