[Spice-devel] [PATCH spice 1/3] reds: Remove unused mcc parameter

Pavel Grunt pgrunt at redhat.com
Thu Jun 1 14:08:19 UTC 2017


Not used since ed2e9d51f87faae76be2bf3c6f0a8fe9da834072
---
 server/reds.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/server/reds.c b/server/reds.c
index 5bbbaa7ae..35d430494 100644
--- a/server/reds.c
+++ b/server/reds.c
@@ -1087,8 +1087,7 @@ static void reds_client_monitors_config_cleanup(RedsState *reds)
     cmc->buffer = NULL;
 }
 
-static void reds_on_main_agent_monitors_config(RedsState *reds,
-        MainChannelClient *mcc, void *message, size_t size)
+static void reds_on_main_agent_monitors_config(RedsState *reds, void *message, size_t size)
 {
     VDAgentMessage *msg_header;
     VDAgentMonitorsConfig *monitors_config;
@@ -1125,7 +1124,7 @@ void reds_on_main_agent_data(RedsState *reds, MainChannelClient *mcc, void *mess
     case AGENT_MSG_FILTER_DISCARD:
         return;
     case AGENT_MSG_FILTER_MONITORS_CONFIG:
-        reds_on_main_agent_monitors_config(reds, mcc, message, size);
+        reds_on_main_agent_monitors_config(reds, message, size);
         return;
     case AGENT_MSG_FILTER_PROTO_ERROR:
         red_channel_client_shutdown(RED_CHANNEL_CLIENT(mcc));
-- 
2.13.0



More information about the Spice-devel mailing list