Signed-off-by: Nicolai Hähnle <nicolai.haeh...@amd.com>
---
 src/lib/lowlevel/linux/read_gprwave.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/src/lib/lowlevel/linux/read_gprwave.c 
b/src/lib/lowlevel/linux/read_gprwave.c
index 6d68b7e..d357896 100644
--- a/src/lib/lowlevel/linux/read_gprwave.c
+++ b/src/lib/lowlevel/linux/read_gprwave.c
@@ -425,14 +425,12 @@ int umr_get_wave_status(struct umr_asic *asic, unsigned 
se, unsigned sh, unsigne
                }
                fprintf(asic->options.test_log_fd, "}\n");
        }
 
 
        return umr_parse_wave_data_gfx(asic, ws, buf);
 }
 
 int umr_get_wave_sq_info(struct umr_asic *asic, unsigned se, unsigned sh, 
unsigned cu, struct umr_wave_status *ws)
 {
-       if (asic->family <= FAMILY_NV)
-               return umr_get_wave_sq_info_vi(asic, se, sh, cu, ws);
-       return -1;
+       return umr_get_wave_sq_info_vi(asic, se, sh, cu, ws);
 }
-- 
2.40.0

Reply via email to