diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2016-02-23 19:10:50 +0100 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2016-03-11 16:59:12 +0200 |
commit | b7fcb3603cd9e44d643636ad797e66f2ea9096da (patch) | |
tree | 34bf71d5d5179726fbabf2045615f29a9724a4ea /net | |
parent | c1bf3531aecf4a0ba25bb150dd5fe21edf406c88 (diff) |
vhost-user: remove useless is_server field
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'net')
-rw-r--r-- | net/vhost-user.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/net/vhost-user.c b/net/vhost-user.c index 280341039b..58b8dae766 100644 --- a/net/vhost-user.c +++ b/net/vhost-user.c @@ -27,7 +27,6 @@ typedef struct VhostUserState { typedef struct VhostUserChardevProps { bool is_socket; bool is_unix; - bool is_server; } VhostUserChardevProps; VHostNetState *vhost_user_get_vhost_net(NetClientState *nc) @@ -240,7 +239,6 @@ static int net_vhost_chardev_opts(void *opaque, } else if (strcmp(name, "path") == 0) { props->is_unix = true; } else if (strcmp(name, "server") == 0) { - props->is_server = true; } else { error_setg(errp, "vhost-user does not support a chardev with option %s=%s", |