qxl: Remove red_channel_printerr()

It was only used twice, for what looks like adhoc debugging. This commit
removes it, similarly to what was done for some spice_printerr() calls.

Signed-off-by: Christophe Fergeau <cfergeau@redhat.com>
Acked-by: Frediano Ziglio <fziglio@redhat.com>
This commit is contained in:
Christophe Fergeau 2018-06-28 13:54:16 +02:00 committed by Frediano Ziglio
parent ed44faef04
commit 2a97cec84c
2 changed files with 0 additions and 7 deletions

View File

@ -232,9 +232,6 @@ void red_channel_disconnect_client(RedChannel *channel, RedChannelClient *rcc);
id_, channel_, ## __VA_ARGS__); \
} while (0)
#define red_channel_printerr(channel, format, ...) \
red_channel_log_generic(spice_printerr, channel, format, ## __VA_ARGS__);
#define red_channel_warning(channel, format, ...) \
red_channel_log_generic(g_warning, channel, format, ## __VA_ARGS__);

View File

@ -114,8 +114,6 @@ static void red_qxl_display_migrate(RedChannelClient *rcc)
Dispatcher *dispatcher;
RedChannel *channel = red_channel_client_get_channel(rcc);
red_channel_printerr(channel, "");
dispatcher = (Dispatcher *)g_object_get_data(G_OBJECT(channel), "dispatcher");
payload.rcc = g_object_ref(rcc);
dispatcher_send_message(dispatcher,
@ -161,8 +159,6 @@ static void red_qxl_cursor_migrate(RedChannelClient *rcc)
Dispatcher *dispatcher;
RedChannel *channel = red_channel_client_get_channel(rcc);
red_channel_printerr(channel, "");
dispatcher = (Dispatcher *)g_object_get_data(G_OBJECT(channel), "dispatcher");
payload.rcc = g_object_ref(rcc);
dispatcher_send_message(dispatcher,