Commit 0165e9c1 authored by Konrad Dybcio's avatar Konrad Dybcio Committed by Rob Clark
Browse files

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: default avatarKonrad Dybcio <konrad.dybcio@somainline.org>
Reviewed-by: default avatarAkhil 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: default avatarRob Clark <robdclark@chromium.org>
parent 6694482a
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -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;