drm/msm/adreno: Remove dead code
This BUG_ON will never be reached, and there is a comment 20 above explaining why. Signed-off-by: Konrad Dybcio <konrad.dybcio@somainline.org> Reviewed-by: Akhil P Oommen <quic_akhilpo@quicinc.com> Patchwork: https://patchwork.freedesktop.org/patch/487586/ Link: https://lore.kernel.org/r/20220528160353.157870-1-konrad.dybcio@somainline.org Signed-off-by: Rob Clark <robdclark@chromium.org>
This commit is contained in:
parent
6694482a70
commit
0165e9c119
|
|
@ -1549,8 +1549,6 @@ int a6xx_gmu_init(struct a6xx_gpu *a6xx_gpu, struct device_node *node)
|
|||
if (ret)
|
||||
goto err_memory;
|
||||
} else {
|
||||
BUG_ON(adreno_is_a660_family(adreno_gpu));
|
||||
|
||||
/* HFI v1, has sptprac */
|
||||
gmu->legacy = true;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue