mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 07:38:10 +02:00
radeonsi: no need to call si_pm4_clear_state() in si_pm4_free_state()
the si_pm4_clear_state() initializes the variable in struct si_pm4_state which anyway gets freed in si_pm4_free_state(). Hence no need to call si_pm4_clear_state() in si_pm4_free_state(). Signed-off-by: Yogesh Mohan Marimuthu <yogesh.mohanmarimuthu@amd.com> Reviewed-by: Marek Olšák <marek.olsak@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17504>
This commit is contained in:
parent
2330c71751
commit
1c2ca3cfb7
1 changed files with 0 additions and 1 deletions
|
|
@ -131,7 +131,6 @@ void si_pm4_free_state(struct si_context *sctx, struct si_pm4_state *state, unsi
|
|||
}
|
||||
}
|
||||
|
||||
si_pm4_clear_state(state);
|
||||
FREE(state);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue