[Spice-devel] [spice] server: Remove the display_channel_attach_stream() prototype

Francois Gouget fgouget at codeweavers.com
Fri Nov 13 09:24:16 PST 2015


It is unused.

Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
---
 server/display-channel.h | 3 ---
 1 file changed, 3 deletions(-)

It was added in this commit:

commit 4987df8e67f48cde13d39f4e81909f672ae33e29
Author: Marc-André Lureau <marcandre.lureau at gmail.com>
Date:   Tue Nov 10 13:21:28 2015 +0000

    worker: move stream to display channel
    
    Acked-by: Jonathon Jongsma <jjongsma at redhat.com>

So unless there was some ulterior motive it should not be there.

diff --git a/server/display-channel.h b/server/display-channel.h
index c3dcc29..a9ae40a 100644
--- a/server/display-channel.h
+++ b/server/display-channel.h
@@ -358,9 +358,6 @@ typedef struct SurfaceCreateItem {
 
 void                       display_channel_set_stream_video          (DisplayChannel *display,
                                                                       int stream_video);
-void                       display_channel_attach_stream             (DisplayChannel *display,
-                                                                      Drawable *drawable,
-                                                                      Stream *stream);
 int                        display_channel_get_streams_timeout       (DisplayChannel *display);
 void                       display_channel_compress_stats_print      (const DisplayChannel *display);
 void                       display_channel_compress_stats_reset      (DisplayChannel *display);
-- 
2.6.2


More information about the Spice-devel mailing list