mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 15:38:09 +02:00
broadcom/qpu: remove duplicated opcode variable
`opcode` is wrote twice.
Fixes CID 1490798: Incorrect expression (EVALUATION_ORDER).
Fixes: 8a5f2228db ("broadcom/qpu: add new lookup opcode description helper")
Reviewed-by: Alejandro Piñeiro <apinheiro@igalia.com>
Signed-off-by: Juan A. Suarez Romero <jasuarez@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12554>
This commit is contained in:
parent
626b125857
commit
b22ba69615
1 changed files with 1 additions and 1 deletions
|
|
@ -1001,7 +1001,7 @@ v3d_qpu_add_pack(const struct v3d_device_info *devinfo,
|
|||
if (!desc)
|
||||
return false;
|
||||
|
||||
uint32_t opcode = opcode = desc->opcode_first;
|
||||
uint32_t opcode = desc->opcode_first;
|
||||
|
||||
/* If an operation doesn't use an arg, its mux values may be used to
|
||||
* identify the operation type.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue