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:
Juan A. Suarez Romero 2021-08-26 10:36:48 +02:00 committed by Marge Bot
parent 626b125857
commit b22ba69615

View file

@ -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.