[Spice-devel] [PATCH spice-server v2 00/11] Remove unused functions

Pavel Grunt pgrunt at redhat.com
Mon Nov 23 01:43:40 PST 2015


Hi,

I noticed that there are some unused functions in our code.
Some of them were just defined, but haven't been used, others
stopped being used because some other functions were changed/removed.

v2: dropped patches
  stat: Remove unused stat_remove_*
  timer queue: Remove unused spice_timer_queue_destroy
  jpeg encoder: Remove unused jpeg_encoder_destroy
  lz4 encoder: Removed unused lz4_encoder_destroy

Thanks,
Pavel 

Pavel Grunt (11):
  tree: Remove unused tree_item_dump
  dispatcher: Remove unused dispatcher_read_message
  red dispatcher: Remove unused declaration of
    red_dispatcher_set_mm_time
  red channel: Remove unused red_channel_test_remote_common_cap
  red channel: Remove unused red_channel_pipes_new_add_tail
  red channel: Remove unused red_channel_client_pipe_item_is_linked
  red channel: Remove unused red_channel_push_set_ack
  red channel: Remove unused declaration of red_channel_pipes_remove
  red channel: Remove unused red_channel_apply_clients_data
  main channel: Remove unused main_channel_push_notify
  main channel: Remove unused main_channel_client_get_link_id

 server/dispatcher.c     |  13 ----
 server/dispatcher.h     |   1 -
 server/main_channel.c   |  11 ----
 server/main_channel.h   |   2 -
 server/red_channel.c    |  43 -------------
 server/red_channel.h    |   7 ---
 server/red_dispatcher.h |   1 -
 server/tree.c           | 161 ------------------------------------------------
 server/tree.h           |   1 -
 9 files changed, 240 deletions(-)

-- 
2.5.0



More information about the Spice-devel mailing list