[Spice-devel] [RFC PATCH spice v2 08/20] Clean up some stream-channel comments

Lukáš Hrázký lhrazky at redhat.com
Thu Aug 16 16:26:37 UTC 2018


Signed-off-by: Lukáš Hrázký <lhrazky at redhat.com>
---
 server/stream-channel.c | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/server/stream-channel.c b/server/stream-channel.c
index c69c88d4..2521d4dd 100644
--- a/server/stream-channel.c
+++ b/server/stream-channel.c
@@ -198,8 +198,7 @@ marshall_monitors_config(RedChannelClient *rcc, StreamChannel *channel, SpiceMar
     } msg = {
         { 1, 1, },
         {
-            // monitor ID. These IDs are allocated per channel starting from 0
-            0,
+            0,  // monitor ID. These IDs are allocated per channel starting from 0
             PRIMARY_SURFACE_ID,
             channel->width, channel->height,
             0, 0,
@@ -431,7 +430,6 @@ stream_channel_connect(RedChannel *red_channel, RedClient *red_client, RedStream
     red_channel_client_pipe_add_type(rcc, RED_PIPE_ITEM_TYPE_MONITORS_CONFIG);
     // surface data
     red_channel_client_pipe_add_type(rcc, RED_PIPE_ITEM_TYPE_FILL_SURFACE);
-    // TODO monitor configs ??
     red_channel_client_pipe_add_empty_msg(rcc, SPICE_MSG_DISPLAY_MARK);
 }
 
@@ -492,7 +490,6 @@ stream_channel_change_format(StreamChannel *channel, const StreamMsgFormat *fmt)
         channel->height = fmt->height;
         red_channel_pipes_add_type(red_channel, RED_PIPE_ITEM_TYPE_SURFACE_CREATE);
         red_channel_pipes_add_type(red_channel, RED_PIPE_ITEM_TYPE_MONITORS_CONFIG);
-        // TODO monitors config ??
         red_channel_pipes_add_empty_msg(red_channel, SPICE_MSG_DISPLAY_MARK);
     }
 
-- 
2.18.0



More information about the Spice-devel mailing list