diff options
author | Konrad Dybcio <konrad.dybcio@somainline.org> | 2022-05-28 18:03:48 +0200 |
---|---|---|
committer | Rob Clark <robdclark@chromium.org> | 2022-07-06 08:41:02 -0700 |
commit | 0165e9c119c92fae4366c92ea459edde0224bfa7 (patch) | |
tree | 23ba528b3eff53130cceb5e68f61caa8e77c1713 | |
parent | 6694482a70e9536efbf2ac233cbf0c302d6e2dae (diff) | |
download | linux-0165e9c119c92fae4366c92ea459edde0224bfa7.tar.gz |
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>
-rw-r--r-- | drivers/gpu/drm/msm/adreno/a6xx_gmu.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/gpu/drm/msm/adreno/a6xx_gmu.c b/drivers/gpu/drm/msm/adreno/a6xx_gmu.c index dc715d88ff21..7ccf9916bf19 100644 --- a/drivers/gpu/drm/msm/adreno/a6xx_gmu.c +++ b/drivers/gpu/drm/msm/adreno/a6xx_gmu.c @@ -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; |