Skip to content

Commit

Permalink
nbd: drop unused NBDClientSession.is_unix field
Browse files Browse the repository at this point in the history
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-Id: <20170327123223.1199-1-stefanha@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
  • Loading branch information
stefanhaRH authored and bonzini committed Mar 27, 2017
1 parent 12f8def commit e4548bb
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions block/nbd-client.h
Expand Up @@ -30,8 +30,6 @@ typedef struct NBDClientSession {

Coroutine *recv_coroutine[MAX_NBD_REQUESTS];
NBDReply reply;

bool is_unix;
} NBDClientSession;

NBDClientSession *nbd_get_client_session(BlockDriverState *bs);
Expand Down
2 changes: 0 additions & 2 deletions block/nbd.c
Expand Up @@ -285,8 +285,6 @@ static SocketAddress *nbd_config(BDRVNBDState *s, QDict *options, Error **errp)
goto done;
}

s->client.is_unix = saddr->type == SOCKET_ADDRESS_KIND_UNIX;

done:
QDECREF(addr);
qobject_decref(crumpled_addr);
Expand Down

0 comments on commit e4548bb

Please sign in to comment.