diff options
Diffstat (limited to 'rpc/rpc-transport')
-rw-r--r-- | rpc/rpc-transport/socket/src/socket.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/rpc/rpc-transport/socket/src/socket.c b/rpc/rpc-transport/socket/src/socket.c index deec0cbc6f4..ad578dd740c 100644 --- a/rpc/rpc-transport/socket/src/socket.c +++ b/rpc/rpc-transport/socket/src/socket.c @@ -412,13 +412,11 @@ static int __socket_cached_read (rpc_transport_t *this, struct iovec *opvector, int opcount) { socket_private_t *priv = NULL; - int sock = -1; struct gf_sock_incoming *in = NULL; int req_len = -1; int ret = -1; priv = this->private; - sock = priv->sock; in = &priv->incoming; req_len = iov_length (opvector, opcount); |