mirror of
https://github.com/gnif/vendor-reset.git
synced 2026-03-29 06:32:44 +02:00
[core] refactored to centralize the lookup and reset code
This commit is contained in:
@@ -62,7 +62,6 @@ static int vega20_baco_set_state(struct amd_fake_dev *adev, enum BACO_STATE stat
|
||||
uint32_t data;
|
||||
|
||||
vega20_baco_get_state(adev, &cur_state);
|
||||
|
||||
if (cur_state == state)
|
||||
return 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user