Displaying 1 result from an estimated 1 matches for "drm_qxl_reloc".
Did you mean:
drm_qxl_alloc
2023 Apr 07
0
[PATCH] drm/qxl: remove unused num_relocs variable
...switch (cmd->type) {
> @@ -201,7 +201,6 @@ static int qxl_process_single_command(struct qxl_device *qdev,
> }
>
> /* fill out reloc info structs */
> - num_relocs = 0;
> for (i = 0; i < cmd->relocs_num; ++i) {
> struct drm_qxl_reloc reloc;
> struct drm_qxl_reloc __user *u = u64_to_user_ptr(cmd->relocs);
> @@ -231,7 +230,6 @@ static int qxl_process_single_command(struct qxl_device *qdev,
> reloc_info[i].dst_bo = cmd_bo;
> reloc_info[i].dst_offset = r...