[Spice-devel] [PATCH spice 1/3] reds: Remove unused mcc parameter
Jonathon Jongsma
jjongsma at redhat.com
Fri Jun 2 15:00:55 UTC 2017
Acked-by: Jonathon Jongsma <jjongsma at redhat.com>
On Thu, 2017-06-01 at 16:08 +0200, Pavel Grunt wrote:
> 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));
More information about the Spice-devel
mailing list