pvr: Remove redundant assignment error.instruction.
authorRajnesh Kanwal <rajnesh.kanwal@imgtec.com>
Sun, 25 Sep 2022 18:39:31 +0000 (19:39 +0100)
committerMarge Bot <emma+marge@anholt.net>
Fri, 30 Sep 2022 10:52:51 +0000 (10:52 +0000)
Fixes: CID 1503256.

Signed-off-by: Rajnesh Kanwal <rajnesh.kanwal@imgtec.com>
Reviewed-by: Frank Binns <frank.binns@imgtec.com>
Reviewed-by: Karmjit Mahil <Karmjit.Mahil@imgtec.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18866>

src/imagination/vulkan/pds/pvr_pds_disasm.c

index 66ccb3e..a031d7c 100644 (file)
@@ -54,7 +54,6 @@ static void error_reg_range(uint32_t raw,
    char param[32];
 
    error.type = PVR_PDS_ERR_PARAM_RANGE;
-   error.instruction = error.instruction;
    error.parameter = parameter;
    error.raw = raw;