syntax-check: remove trailing whitespaces

Only whitespace changes in this commit.
This commit is contained in:
Uri Lublin 2013-07-10 00:21:40 +03:00
parent d45f3bdc6b
commit d6092f11b6
3 changed files with 7 additions and 8 deletions

View File

@ -554,7 +554,7 @@ SpiceCharDeviceWriteBuffer *spice_char_device_write_buffer_get(SpiceCharDeviceSt
RedClient *client,
int size)
{
return __spice_char_device_write_buffer_get(dev, client, size,
return __spice_char_device_write_buffer_get(dev, client, size,
client ? WRITE_BUFFER_ORIGIN_CLIENT : WRITE_BUFFER_ORIGIN_SERVER,
0);
}
@ -562,7 +562,7 @@ SpiceCharDeviceWriteBuffer *spice_char_device_write_buffer_get(SpiceCharDeviceSt
SpiceCharDeviceWriteBuffer *spice_char_device_write_buffer_get_server_no_token(
SpiceCharDeviceState *dev, int size)
{
return __spice_char_device_write_buffer_get(dev, NULL, size,
return __spice_char_device_write_buffer_get(dev, NULL, size,
WRITE_BUFFER_ORIGIN_SERVER_NO_TOKEN, 0);
}

View File

@ -663,14 +663,13 @@ static bool get_transform(RedMemSlotInfo *slots,
int group_id,
QXLPHYSICAL qxl_transform,
SpiceTransform *dst_transform)
{
const uint32_t *t = NULL;
int error;
if (qxl_transform == 0)
return FALSE;
t = (uint32_t *)get_virt(slots, qxl_transform, sizeof(*dst_transform), group_id, &error);
if (!t || error)
@ -688,7 +687,7 @@ static void red_get_composite_ptr(RedMemSlotInfo *slots, int group_id,
red->src_bitmap = red_get_image(slots, group_id, qxl->src, flags, FALSE);
if (get_transform(slots, group_id, qxl->src_transform, &red->src_transform))
red->flags |= SPICE_COMPOSITE_HAS_SRC_TRANSFORM;
if (qxl->mask) {
red->mask_bitmap = red_get_image(slots, group_id, qxl->mask, flags, FALSE);
red->flags |= SPICE_COMPOSITE_HAS_MASK;

View File

@ -11033,7 +11033,7 @@ static void red_wait_all_sent(RedChannel *channel)
end_time = red_now() + DETACH_TIMEOUT;
red_channel_push(channel);
while (((max_pipe_size = red_channel_max_pipe_size(channel)) ||
while (((max_pipe_size = red_channel_max_pipe_size(channel)) ||
(blocked = red_channel_any_blocked(channel))) &&
red_now() < end_time) {
spice_debug("pipe-size %u blocked %d", max_pipe_size, blocked);
@ -11047,7 +11047,7 @@ static void red_wait_all_sent(RedChannel *channel)
spice_printerr("timeout: pending out messages exist (pipe-size %u, blocked %d)",
max_pipe_size, blocked);
red_channel_apply_clients(channel, rcc_shutdown_if_pending_send);
} else {
} else {
spice_assert(red_channel_no_item_being_sent(channel));
}
}
@ -11534,7 +11534,7 @@ void handle_dev_stop(void *opaque, void *payload)
red_display_clear_glz_drawables(worker->display_channel);
flush_all_surfaces(worker);
/* todo: when the waiting is expected to take long (slow connection and
* overloaded pipe), don't wait, and in case of migration,
* overloaded pipe), don't wait, and in case of migration,
* purge the pipe, send destroy_all_surfaces
* to the client (there is no such message right now), and start
* from scratch on the destination side */