[Spice-devel] [spice-server 09/10] qxl: Rename 'qxl' to 'qxl_cmd' in red_get_update_cmd
Christophe Fergeau
cfergeau at redhat.com
Mon Apr 16 10:13:58 UTC 2018
This is in preparation for next commit.
---
server/red-parse-qxl.c | 13 ++++++-------
1 file changed, 6 insertions(+), 7 deletions(-)
diff --git a/server/red-parse-qxl.c b/server/red-parse-qxl.c
index d7ae53804..d4a7decd3 100644
--- a/server/red-parse-qxl.c
+++ b/server/red-parse-qxl.c
@@ -1258,20 +1258,19 @@ static void red_put_drawable(RedDrawable *red)
bool red_get_update_cmd(RedMemSlotInfo *slots, int group_id,
RedUpdateCmd *red, QXLPHYSICAL addr)
{
- QXLUpdateCmd *qxl;
+ QXLUpdateCmd *qxl_cmd;
int error;
- qxl = (QXLUpdateCmd *)memslot_get_virt(slots, addr, sizeof(*qxl), group_id, &error);
+ qxl_cmd = (QXLUpdateCmd *)memslot_get_virt(slots, addr, sizeof(*qxl_cmd), group_id, &error);
if (error) {
return false;
}
- red->release_info_ext.info = &qxl->release_info;
+ red->release_info_ext.info = &qxl_cmd->release_info;
red->release_info_ext.group_id = group_id;
-
- red_get_rect_ptr(&red->area, &qxl->area);
- red->update_id = qxl->update_id;
- red->surface_id = qxl->surface_id;
+ red_get_rect_ptr(&red->area, &qxl_cmd->area);
+ red->update_id = qxl_cmd->update_id;
+ red->surface_id = qxl_cmd->surface_id;
return true;
}
--
2.14.3
More information about the Spice-devel
mailing list