Acked-by: Jonathon Jongsma <jjongsma@xxxxxxxxxx> On Tue, 2019-03-26 at 19:10 +0000, Frediano Ziglio wrote: > DisplayChannelClient get them directly from reds (they are changed > only during initialisation so they can be read freely from any > thread). > > Signed-off-by: Frediano Ziglio <fziglio@xxxxxxxxxx> > --- > server/red-worker.c | 4 ---- > 1 file changed, 4 deletions(-) > > diff --git a/server/red-worker.c b/server/red-worker.c > index 129f9f93..d883f419 100644 > --- a/server/red-worker.c > +++ b/server/red-worker.c > @@ -77,8 +77,6 @@ struct RedWorker { > RedMemSlotInfo mem_slots; > > SpiceImageCompression image_compression; > - spice_wan_compression_t jpeg_state; > - spice_wan_compression_t zlib_glz_state; > > uint32_t process_display_generation; > RedStatNode stat; > @@ -1109,8 +1107,6 @@ RedWorker* red_worker_new(QXLInstance *qxl) > } > > worker->image_compression = > spice_server_get_image_compression(reds); > - worker->jpeg_state = reds_get_jpeg_state(reds); > - worker->zlib_glz_state = reds_get_zlib_glz_state(reds); > worker->driver_cap_monitors_config = 0; > char worker_str[SPICE_STAT_NODE_NAME_MAX]; > snprintf(worker_str, sizeof(worker_str), "display[%d]", worker- > >qxl->id & 0xff); _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/spice-devel